JavaScript must be enabled to play.
Browser lacks capabilities required to play.
Upgrade or switch to another browser.
Loading…
<div id="main-content">\ <div id="main-text">\ <h1>GHOST: Chaos [v0.12A]</h1>\ <hr>\ <p class="warning" style="text-align: center; color: #ff6b6b; background: rgba(255, 107, 107, 0.1); padding: 10px; border-radius: 6px; border: 1px solid rgba(255, 107, 107, 0.2);">\ ⚠️ <b>ADULT CONTENT — 21+ ONLY</b><br>\ This game contains explicit adult themes and is intended strictly for mature audiences.\ </p>\ <hr>\ <p>\ <b>Development Status:</b> Early <span style="color: var(--accent);"><b>ALPHA (v0.12A)</b></span><br>\ The project is under active development. I am currently refining the interaction systems and expanding the narrative depth for all characters.\ </p>\ <p>\ <b>Current Build Highlights:</b><br>\ • Expanded character interaction branches (all branches completed, except for Daughter/Mother and Father/Mother)<br>\ • Stable core gameplay loop & house location system<br>\ • Refined Energy, Time, and Control mechanics\ </p>\ <p>\ <b>Upcoming Roadmap:</b><br>\ • Act 2: Expansion to the city (school, office, public locations)<br>\ • Act 3: Full control over the city environment<br>\ • Deepening narrative arcs and dynamic events\ </p>\ <hr>\ <p style="text-align: center;">\ Player feedback is invaluable to this project's growth.<br>\ If you want to support development:\ </p>\ <p style="text-align: center; margin: 20px 0;">\ <a href="https://www.patreon.com/cw/NonPlayer" target="_blank" class="neobutton" style="display: inline-block; padding: 10px 20px; background: #963a50; color: #fff; text-decoration: none; border-radius: 6px; font-weight: bold; border: 1px solid #c14d6b;">\ ❤️ Support on Patreon\ </a>\ </p>\ <hr>\ <p style="text-align: center; margin-top: 25px;">\ <<link "▶ Continue">><<goto "Intro">><</link>>\ </p>\ </div>\ </div>
<h2 class="room-title">Hall</h2> <div class="rooms-columns-container">\ <div class="rooms-column">\ <h3>🏠 Main rooms</h3>\ [[DaughterRoom]]\ [[ParentsRoom]]\ [[Kitchen]]\ [[Bathroom]]\ [[checkroom]] </div>\ <div class="rooms-column">\ <h3>🛠️ Utility rooms</h3> [[FathersStudy]]\ [[Attic]]\ </div>\ <div class="rooms-column">\ <h3>✨ Special</h3>\ \ <<if $unlockedRooms.LivingRoom>>\ [[Living Room|LivingRoom]] <<else>>\ <<link "Buy Living Room ($900)">> <<if $money >= $roomPrices.LivingRoom>>\ <<set $money -= $roomPrices.LivingRoom>>\ <<set $unlockedRooms.LivingRoom to true>>\ <<goto "Hall">>\ <<else>>\ <<run alert("Not enough money!")>>\ <</if>>\ <</link>>\ <</if>>\ \ <<if $unlockedRooms.Garage>>\ [[Garage]] <<else>>\ <<link "Buy Garage ($1100)">> <<if $money >= $roomPrices.Garage>>\ <<set $money -= $roomPrices.Garage>>\ <<set $unlockedRooms.Garage to true>>\ <<goto "Hall">>\ <<else>>\ <<run alert("Not enough money!")>>\ <</if>>\ <</link>>\ <</if>>\ \ <<if $unlockedRooms.Basement>>\ [[Basement]] <<else>>\ <<link "Buy Basement ($1500)">> <<if $money >= $roomPrices.Basement>>\ <<set $money -= $roomPrices.Basement>>\ <<set $unlockedRooms.Basement to true>>\ <<goto "Hall">>\ <<else>>\ <<run alert("Not enough money!")>>\ <</if>>\ <</link>>\ <</if>>\ </div>\ <hr>\ <<if $cheatRoomUnlocked>>\ <div style="color: #e8c885;">\ <<link "Secret Cheat Room">><<goto "CheatMenu">><</link>>\ </div>\ <<else>>\ <<link "???">><<goto "PasswordInput">><</link>>\ <</if>>\ </div> <<link "Pass Time (Next Phase)">> <<run window.nextTime()>> <<run updateCharacters()>> <<goto "Hall">> /* Перезагружает текущую комнату */ <</link>>
<div id="main-text">\ <<if $chars.daughter.corruption < 20 or $chars.father.relations.daughter < 30>>\ <h2 class="room-title">Access Denied</h2>\ <p>You don't have enough corruption or relationship to proceed.</p>\ <<link "Back to choice">><<goto "DaughterFatherKitchenChoice">><</link>>\ <<else>>\ <h2 class="room-title">Subtle Approach</h2>\ <<if not $choiceMadeKitchenFatherLvl1>>\ <div class="player-choice">\ <div class="choice-title">What to do?</div>\ <<link "💋 Clean the table">><<set $choiceMadeKitchenFatherLvl1 = "seduce">><<goto "DaughterFatherKitchenLvl1">><</link>> <<link "😊 Check the food">><<set $choiceMadeKitchenFatherLvl1 = "innocent">><<goto "DaughterFatherKitchenLvl1">><</link>> <<link "👀 Cook provocatively">><<set $choiceMadeKitchenFatherLvl1 = "open">><<goto "DaughterFatherKitchenLvl1">><</link>> </div>\ <<else>>\ <<set _forceDetect = false>>\ <<if $choiceMadeKitchenFatherLvl1 == "seduce">>\ <div class="animation-box">\ <img src="img/daughter/kitchen/wash1.gif" class="animation-content">\ </div>\ <div class="success-result">\ <p>"Okay, I'll go wash the dishes..." You lean over the table intentionally. He tries hard not to look.</p>\ <p style="color:#85e885; font-weight:bold;">📈 Stats: +2 Father Relations, +1 Father Corruption</p>\ <<set $chars.father.relations.daughter += 2>>\ <<set $chars.father.corruption += 1>>\ </div>\ <<elseif $choiceMadeKitchenFatherLvl1 == "innocent">>\ <div class="animation-box">\ <img src="img/daughter/kitchen/seduce.gif" class="animation-content">\ </div>\ <<if $chars.father.relations.daughter >= 35>>\ <div class="success-result">\ <p>"Ooh, you're so grown up, baby..." he mutters.</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 Stats: +2 Father Relations, +1 Father Corruption, +1 Daughter Corruption</p>\ <<set $chars.father.relations.daughter += 2>>\ <<set $chars.father.corruption += 1>>\ <<set $chars.daughter.corruption += 1>>\ </div>\ <<else>>\ <div class="fail-result">\ <p>"Good grief! Please, get out of here," he sighs.</p>\ <p style="color:#ff4444; font-weight:bold;">📉 Stats: -3 Father Relations</p>\ <<set $chars.father.relations.daughter -= 3>>\ </div>\ <</if>>\ <<else>>\ <div class="animation-box">\ <img src="img/daughter/kitchen/cook2.gif" class="animation-content">\ </div>\ <<if $chars.daughter.corruption >= 25>>\ <div class="success-result">\ <p>You carelessly prepare a snack while barely wearing anything.</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 Stats: +2 Father Relations, +1 Father Corruption, +1 Daughter Corruption</p>\ <<set $chars.father.relations.daughter += 2>>\ <<set $chars.father.corruption += 1>>\ <<set $chars.daughter.corruption += 1>>\ <<set _forceDetect = true>>\ </div>\ <<else>>\ <div class="fail-result">\ <p>"What the hell? Put some clothes on!"</p>\ <p style="color:#ff4444; font-weight:bold;">📉 Stats: -5 Father Relations</p>\ <<set $chars.father.relations.daughter -= 5>>\ </div>\ <</if>>\ <</if>>\ <<set _detected = window.checkDetection ? window.checkDetection("daughter", "father", "Kitchen") : false>>\ <<if _forceDetect or _detected>>\ <div class="detected-warning">\ <p>⚠️ <strong>Warning:</strong> Father realized your actions weren't accidental.</p>\ <p style="color:#ff4444; font-weight:bold;">📉 Detection Penalty: -8 Father Relations</p>\ <<set $chars.father.relations.daughter -= 8>>\ </div>\ <</if>>\ <<link "Continue">>\ <<set $choiceMadeKitchenFatherLvl1 = false>>\ <<run window.nextTime()>>\ <<goto "Kitchen">>\ <</link>>\ <</if>>\ <</if>>\ </div>
<div id="main-text">\ <h2 class="room-title">Kitchen</h2>\ <div class="animation-box"><img src="img/build/rooms/kitchen.png" class="animation-content"></div>\ <<set _here = []>>\ <<if $characterLocations.daughter == "Kitchen">><<run _here.push("👧 Daughter")>><</if>>\ <<if $characterLocations.father == "Kitchen">><<run _here.push("👨 Father")>><</if>>\ <<if $characterLocations.mother == "Kitchen">><<run _here.push("👩 Mother")>><</if>>\ <<if _here.length > 0>>\ <div style="color:#ffdd88; font-weight: bold; background: rgba(240,184,64,0.08); padding: 10px 15px; border-radius: 6px; margin: 15px 0; border-left: 3px solid var(--accent);">Present: <<= _here.join(" • ") >></div>\ <<else>>\ <div style="color:#777; font-style: italic; margin: 15px 0;">The kitchen is empty.</div>\ <</if>>\ <div class="player-choice">\ <<if $controlledCharacter == "daughter">>\ <<if $characterLocations.father == "Kitchen">><<link "👨 Interact with Father">><<run window.spendEnergy(1)>><<run window.nextTime()>><<goto "DaughterFatherKitchenChoice">><</link>><</if>>\ <<if $characterLocations.mother == "Kitchen">><<link "👩 Interact with Mother">><<run window.spendEnergy(1)>><<run window.nextTime()>><<goto "DaughterToMomKitchChoice">><</link>><</if>>\ <<elseif $controlledCharacter == "father">>\ <<if $characterLocations.daughter == "Kitchen">><<link "👧 Interact with Daughter">><<run window.spendEnergy(1)>><<run window.nextTime()>><<goto "FatherToDaughterKitchenChoice">><</link>><</if>>\ <<if $characterLocations.mother == "Kitchen">><<link "👩 Interact with Wife">><<run window.spendEnergy(1)>><<run window.nextTime()>><<goto "HusToWifeKitchChoice">><</link>><</if>>\ <<elseif $controlledCharacter == "mother">>\ <<if $characterLocations.daughter == "Kitchen">><<link "👧 Interact with Daughter">><<run window.spendEnergy(1)>><<run window.nextTime()>><<goto "MomToDaughterKitchenChoice">><</link>><</if>>\ <<if $characterLocations.father == "Kitchen">><<link "👨 Interact with Husband">><<run window.spendEnergy(1)>><<run window.nextTime()>><<goto "WifeToHusKitchChoice">><</link>><</if>>\ <</if>>\ </div>\ <<if !$controlledCharacter or $controlledCharacter == "none">><p style="color:#aaa; font-style:italic;">Select a character from the sidebar.</p><</if>>\ <hr>\ [[← Return to Hall->Hall]]\ </div>\
<div id="main-text">\ <h2 class="room-title">Bathroom</h2>\ <div class="animation-box"><img src="img/build/rooms/bathroom.jpg" class="animation-content"></div>\ <<set _here = []>>\ <<if $characterLocations.daughter == "Bathroom">><<run _here.push("👧 Daughter")>><</if>>\ <<if $characterLocations.father == "Bathroom">><<run _here.push("👨 Father")>><</if>>\ <<if $characterLocations.mother == "Bathroom">><<run _here.push("👩 Mother")>><</if>>\ <<if _here.length > 0>>\ <div style="color:#ffdd88; font-weight: bold; background: rgba(240,184,64,0.08); padding: 10px 15px; border-radius: 6px; margin: 15px 0; border-left: 3px solid var(--accent);">Present: <<= _here.join(" • ") >></div>\ <<else>>\ <div style="color:#777; font-style: italic; margin: 15px 0;">The bathroom is empty.</div>\ <</if>>\ <div class="player-choice" style="margin: 20px 0;">\ <<if $controlledCharacter == "daughter">>\ <<if $characterLocations.father == "Bathroom">><<link "👨 Join Father">><<goto "DaughterFatherBathroomChoice">><</link>><</if>>\ <<if $characterLocations.mother == "Bathroom">><<link "👩 Talk to Mother">><<goto "DaughterToMomBathChoice">><</link>><</if>>\ <<elseif $controlledCharacter == "father">>\ <<if $characterLocations.daughter == "Bathroom">><<link "👧 Join Daughter">><<goto "FatherToDaughterBathChoice">><</link>><</if>>\ <<if $characterLocations.mother == "Bathroom">><<link "👩 Talk to Mother">><<goto "HusToWifeBathChoice">><</link>><</if>>\ <<elseif $controlledCharacter == "mother">>\ <<if $characterLocations.daughter == "Bathroom">><<link "👧 Talk to Daughter">><<goto "MomToDaughterBathChoice">><</link>><</if>>\ <<if $characterLocations.father == "Bathroom">><<link "👨 Talk to Father">><<goto "WifeToHusBathChoice">><</link>><</if>>\ <</if>>\ </div>\ [[← Back to Hall->Hall]]\ </div>\
<<set $hasDaughter = false>> <<set $hasFather = false>> <<set $hasMother = false>> <<set $controlledCharacter = null>> <<set $energy = 3>> <<set $maxEnergy = 10>> <<set $day = 1>> <<set $webexp = 0>> <<set $time = 1>> <<set $timeNames = ["", "Morning", "Day", "Evening", "Night"]>> <<set $power = 1>> <<set $dayNames = ["", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"]>> <<set $weekDay = 1>> <<set $choiceMadeFath = false>> <<set $choiceMadeMom = false>> <<set $choiceMadeDaughter = false>> <<set $chars = { father: { name: "Father", corruption: 0, relations: { daughter: 0, mother: 0 } }, mother: { name: "Mother", corruption: 0, relations: { daughter: 0, father: 0 } }, daughter: { name: "Daughter", corruption: 0, relations: { father: 0, mother: 0 } } }>> <<set $characterLocations = { daughter: "DaughterRoom", father: "ParentsRoom", mother: "Kitchen" }>> <<set $rooms = { Hall: "Hall", DaughterRoom: "Daughter's Room", ParentsRoom: "Parents' Bedroom", Kitchen: "Kitchen", Bathroom: "Bathroom", FathersStudy: "Father's Study", Attic: "Attic", Garage: "Garage", Basement: "Basement", LivingRoom: "Living Room", FindCharacter:"FindCharacter" }>> <<set $unlockedRooms = { Hall: true, DaughterRoom: true, ParentsRoom: true, Kitchen: true, Bathroom: true, FathersStudy: true, Attic: true, Garage: false, Basement: false, LivingRoom: false, FindCharacter:true }>> <<set $money = 100>> <<set $schedules = { father: { weekday: {1: "Bathroom", 2: "FathersStudy", 3: "Kitchen", 4: "ParentsRoom"}, weekend: {1: "Garage", 2: "Kitchen", 3: "LivingRoom", 4: "ParentsRoom"} }, mother: { weekday: {1: "Bathroom", 2: "Kitchen", 3: "Kitchen", 4: "ParentsRoom"}, weekend: {1: "Bathroom", 2: "LivingRoom", 3: "Kitchen", 4: "ParentsRoom"} }, daughter: { weekday: {1: "DaughterRoom", 2: "Bathroom", 3: "Kitchen", 4: "DaughterRoom"}, weekend: {1: "DaughterRoom", 2: "LivingRoom", 3: "Kitchen", 4: "DaughterRoom"} } }>> <<set $roomPrices = { LivingRoom: 900, Garage: 1100, Basement: 1500 }>> <<set $cheatRoomUnlocked = false>>
<div id="main-text">\ <h2 class="room-title">Parents' Bedroom</h2>\ <div class="animation-box"><img src="img/build/rooms/parentsbed.png" class="animation-content"></div>\ <<set _here = []>><<if $characterLocations.daughter == "ParentsRoom">><<run _here.push("👧 Daughter")>><</if>><<if $characterLocations.father == "ParentsRoom">><<run _here.push("👨 Father")>><</if>><<if $characterLocations.mother == "ParentsRoom">><<run _here.push("👩 Mother")>><</if>>\ <<if _here.length > 0>>\ <div style="color:#ffdd88; font-weight: bold; background: rgba(240,184,64,0.08); padding: 10px 15px; border-radius: 6px; margin: 15px 0; border-left: 3px solid var(--accent);">Present: <<= _here.join(" • ") >></div>\ <<else>>\ <div style="color:#777; font-style: italic; margin: 15px 0;">The bedroom is empty.</div>\ <</if>>\ <div class="player-choice">\ <<if $controlledCharacter == "daughter">>\ <<if $characterLocations.father == "ParentsRoom">>\ <<link "💋 Seduce Father">><<run window.spendEnergy(1)>><<run window.nextTime()>><<goto "FatherBedRoomScene1">><</link>>\ <<if $chars.daughter.corruption >= 10 and $chars.father.relations.daughter >= 15>><<link "💋 Intense Seduction">><<run window.spendEnergy(2)>><<run window.nextTime()>><<goto "FatherBedRoomScene2">><</link>><</if>>\ <<if $chars.daughter.corruption >= 20 and $chars.father.relations.daughter >= 25>><<link "💞 Intimate Interaction">><<run window.spendEnergy(3)>><<run window.nextTime()>><<goto "FatherBedRoomScene3">><</link>><</if>>\ <<if $chars.daughter.corruption >= 40 and $chars.father.relations.daughter >= 40 and $time == 4>><<link "💞 Night Fun">><<run window.spendEnergy(1)>><<run window.nextTime()>><<goto "FatherBedRoomNightScene1">><</link>><</if>>\ <</if>>\ <<if $characterLocations.mother == "ParentsRoom">><<link "💬 Interact with Mother">><<run window.spendEnergy(1)>><<run window.nextTime()>><<goto "DaughterToMomBedChoice">><</link>><</if>>\ <<elseif $controlledCharacter == "father" and $characterLocations.mother == "ParentsRoom">><<link "💬 Talk to Wife">><<run window.spendEnergy(1)>><<run window.nextTime()>><<goto "HusToWifeBedChoice">><</link>>\ <<elseif $controlledCharacter == "mother" and $characterLocations.father == "ParentsRoom">><<link "💬 Talk to Husband">><<run window.spendEnergy(1)>><<run window.nextTime()>><<goto "MomToHusBedroomSceneChoice">><</link>>\ <</if>>\ </div>\ <hr>[[← Return to Hall->Hall]]\ </div>\
:: FatherBedRoomScene1 <div id="main-text">\ <h2 class="room-title">Father and Daughter</h2>\ <div class="animation-box">\ [img[String.format('img/daughter/seduce/tease' + random(1, 2) + '.gif')]]\ </div>\ <p>The daughter approaches her father. He looks up at her with instant curiosity.</p>\ <<if not $choiceMadeFath>>\ <div class="player-choice">\ <div class="choice-title">What should I do?</div>\ <<link "Try to seduce">>\ <<set $choiceMadeFath = "seduce">>\ <<goto "FatherBedRoomScene1">>\ <</link>>\ <<link "Just talk">>\ <<set $choiceMadeFath = "talk">>\ <<goto "FatherBedRoomScene1">>\ <</link>>\ <<link "Leave">>\ <<set $choiceMadeFath = false>>\ <<goto "ParentsRoom">>\ <</link>>\ </div>\ <<else>>\ <<if $choiceMadeFath == "seduce">>\ <<if $chars.daughter.corruption >= 5 and $chars.father.relations.daughter >= 10>>\ <div class="success-result">\ <p>Father doesn't fully understand what's going on, but he watches intently and doesn't push you away.</p>\ <div class="animation-box">\ <img src="img/daughter/seduce/tease4.gif" class="animation-content">\ </div>\ <p style="color:#85e885; font-weight:bold;">📈 Stats: +3 Daughter Corruption, +5 Father Relations, +2 Father Corruption</p>\ <<set $chars.daughter.corruption += 3>>\ <<set $chars.father.relations.daughter += 5>>\ <<set $chars.father.corruption += 2>>\ </div>\ <<elseif $chars.daughter.corruption >= 3 and $chars.father.relations.daughter >= 5>>\ <div class="partial-result">\ <p>The father hesitates for a second, but ultimately allows you to stay close.</p>\ <p style="color:#e8c885; font-weight:bold;">📈 Stats: +1 Daughter Corruption, +2 Father Relations</p>\ <<set $chars.daughter.corruption += 1>>\ <<set $chars.father.relations.daughter += 2>>\ </div>\ <<else>>\ <div class="fail-result">\ <p>The father steps back awkwardly: "Not now, honey. Go clean up your room."</p>\ <p style="color:#ff4444; font-weight:bold;">📉 Stats: -1 Father Relations</p>\ <<set $chars.father.relations.daughter -= 1>>\ </div>\ <</if>>\ <<elseif $choiceMadeFath == "talk">>\ <div class="success-result">\ <div class="animation-box">\ <img src="img/daughter/seduce/talk1.gif" class="animation-content">\ </div>\ <p>Daughter makes comfortable small talk. The father smiles, enjoying her company.</p>\ <p style="color:#85e885; font-weight:bold;">📈 Stats: +1 Father Relations</p>\ <<set $chars.father.relations.daughter += 1>>\ <<set $chars.daughter.corruption += 1>>\ </div>\ <</if>>\ <<link "Continue">>\ <<set $choiceMadeFath = false>>\ <<run window.nextTime()>>\ <<goto "ParentsRoom">>\ <</link>>\ <</if>>\ </div>
:: _Sidebar <div id="custom-sidebar"> <div class="sidebar-header"> <h2>Ghost:Chaos</h2> </div> <!-- ===== TOP BACK BUTTON ===== --> <button class="top-back-btn" onclick="window.history.back()">← Back</button> <!-- ===== MAIN STATS ===== --> <div class="stat-block"> <div class="stat-title">📊 Main Stats</div> <div>💰 Money: <span id="ui-money">0</span>$</div> <div>⚡ Energy: <span id="ui-energy">3</span>/<span id="ui-max-energy">10</span></div> <div>📅 Day: <span id="ui-day">1</span> - <span id="ui-weekday">Monday</span></div> <div>⏰ Time: <span id="ui-time">Morning</span></div> <div>🎮 <span id="ui-controlled">Control: none</span></div> </div> <!-- ===== QUICK CONTROL ===== --> <div class="stat-block"> <div class="stat-title">🎮 Quick Control</div> <!-- Daughter --> <div class="compact-control-grid"> <div class="compact-char"> <div class="compact-icon">👧</div> <div>Daughter</div> <button id="btn-daughter" class="compact-btn free" onclick="window.takeControlFromSidebar('daughter')">IN</button> <div id="status-daughter" class="compact-status">(Hall)</div> </div> <!-- Father --> <div class="compact-char"> <div class="compact-icon">👨</div> <div>Father</div> <button id="btn-father" class="compact-btn free" onclick="window.takeControlFromSidebar('father')">IN</button> <div id="status-father" class="compact-status">(Hall)</div> </div> <!-- Mother --> <div class="compact-char"> <div class="compact-icon">👩</div> <div>Mother</div> <button id="btn-mother" class="compact-btn free" onclick="window.takeControlFromSidebar('mother')">IN</button> <div id="status-mother" class="compact-status">(Hall)</div> </div> </div> </div> <!-- ===== CHARACTER STATS ===== --> <div class="stat-block"> <div class="stat-title">👤 Daughter</div> <div>💀 Corruption: <span id="daughter-corruption">0</span></div> <div>❤️ To father: <span id="daughter-to-father">0</span></div> <div>❤️ To mother: <span id="daughter-to-mother">0</span></div> </div> <div class="stat-block"> <div class="stat-title">👨 Father</div> <div>💀 Corruption: <<print $chars.father.corruption>></div> <div>❤️ To daughter: <<print $chars.father.relations.daughter>></div> <div>❤️ To mother: <<print $chars.father.relations.mother>></div> </div> <div class="stat-block"> <div class="stat-title">👨 Father</div> <div>💀 Corruption: <span id="father-corruption">0</span></div> <div>❤️ To daughter: <span id="father-to-daughter">0</span></div> <div>❤️ To mother: <span id="father-to-mother">0</span></div> </div> <!-- ===== UTILITY BUTTONS ===== --> <div class="stat-block"> <div class="stat-title">⚙️ Utilities</div> <button class="util-btn" onclick="window.saveGame()">💾 Save</button> <button class="util-btn" onclick="window.loadGame()">📂 Load</button> <button class="util-btn" onclick="window.openRelations()">📊 Relations</button> </div> </div> <script> // Эта функция обновляет все цифры в сайдбаре window.updateSidebarStats = function() { try { // Получаем переменные игры const v = window.State?.variables; if (!v || !v.chars) { console.log("Waiting for variables..."); return; } // ДОЧЬ - показываем её отношения к другим $("#daughter-corruption").text(v.chars.daughter?.corruption || 0); $("#daughter-to-father").text(v.chars.daughter?.relations?.father || 0); $("#daughter-to-mother").text(v.chars.daughter?.relations?.mother || 0); // ОТЕЦ - показываем его отношения к другим $("#father-corruption").text(v.chars.father?.corruption || 0); $("#father-to-daughter").text(v.chars.father?.relations?.daughter || 0); $("#father-to-mother").text(v.chars.father?.relations?.mother || 0); // МАТЬ - показываем её отношения к другим $("#mother-corruption").text(v.chars.mother?.corruption || 0); $("#mother-to-daughter").text(v.chars.mother?.relations?.daughter || 0); $("#mother-to-father").text(v.chars.mother?.relations?.father || 0); // Деньги, энергия и т.д. $("#ui-money").text(v.money || 0); $("#ui-energy").text(v.energy || 0); $("#ui-max-energy").text(v.maxEnergy || 10); $("#ui-day").text(v.day || 1); $("#ui-time").text(v.timeNames?.[v.time] || "Morning"); $("#ui-weekday").text(v.dayNames?.[v.weekDay] || "Monday"); // Кто под контролем if (v.controlledCharacter) { $("#ui-controlled").text("Control: " + v.controlledCharacter.toUpperCase()).css("color", "#4CAF50"); } else { $("#ui-controlled").text("Control: none").css("color", "#aaa"); } // Обновляем кнопки управления if (typeof window.updateSidebarControls === 'function') { window.updateSidebarControls(); } } catch (e) { console.error("Error in updateSidebarStats:", e); } }; // Обновляем при загрузке страницы $(document).on(":passagerender", function() { setTimeout(window.updateSidebarStats, 100); }); // Обновляем при каждом переходе $(document).on(":passagemove", function() { setTimeout(window.updateSidebarStats, 50); }); // Запускаем сразу setTimeout(window.updateSidebarStats, 200); </script>
WIP [[Hall]]
<div id="main-text">\ <h2 class="room-title">Garage — Father and Daughter</h2>\ <p>The daughter approaches her father among the tools. He stops working and looks at her with interest.</p>\ <<if $controlledCharacter != "daughter">>\ <p style="color: #ff4444;">You must be controlling your daughter to interact here.</p>\ <<link "← Return to Garage">>\ <<run window.spendEnergy(0)>>\ <<goto "Garage">>\ <</link>>\ <<else>>\ <<if $chars.daughter.corruption < 5 or $chars.father.relations.daughter < 10>>\ <div class="locked">\ ⚠️ Not enough corruption or relationship to interact meaningfully yet.\ </div>\ <<link "← Return to Garage">>\ <<run window.spendEnergy(0)>>\ <<goto "Garage">>\ <</link>>\ <<else>>\ <<if not $choiceMadeFath>>\ <div class="player-choice">\ <div class="choice-title">What should I do?</div>\ <<link "Try to seduce">>\ <<set $choiceMadeFath = "seduce">>\ <<goto "DaughterFatherGarageChoice">>\ <</link>>\ <<link "Just talk">>\ <<set $choiceMadeFath = "talk">>\ <<goto "DaughterFatherGarageChoice">>\ <</link>>\ <<link "Leave">>\ <<set $choiceMadeFath = false>>\ <<goto "Garage">>\ <</link>>\ </div>\ <<else>>\ <<if $choiceMadeFath == "seduce">>\ <<if $chars.daughter.corruption >= 5 and $chars.father.relations.daughter >= 10>>\ <div class="animation-box">\ <img src="img/daughter/garage/tease.webp" class="animation-content">\ </div>\ <div class="success-result">\ <p>"Okay, I'll turn away..." he murmurs, but his gaze lingers on your body.</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 +1 Relations, +1 Daughter Corruption, +2 Father Corruption</p>\ <<set $chars.father.relations.daughter += 1>>\ <<set $chars.daughter.corruption += 1>>\ <<set $chars.father.corruption += 2>>\ </div>\ <<else>>\ <div class="fail-result">\ <p>The father steps back nervously: "Not now, daughter! Go inside the house!"</p>\ <p style="color:#ff4444; font-weight:bold;">📉 -1 Relations</p>\ <<set $chars.father.relations.daughter -= 1>>\ </div>\ <</if>>\ \ <<elseif $choiceMadeFath == "talk">>\ <div class="animation-box">\ <img src="img/daughter/garage/talk1.gif" class="animation-content">\ </div>\ <div class="neutral-result">\ <p>You make cozy small talk about the car. Father smiles, leaning against the workbench.</p>\ <p style="color:#85e885; font-weight:bold;">📈 +1 Father Relations</p>\ <<set $chars.father.relations.daughter += 1>>\ </div>\ <</if>>\ \ <<link "Continue">>\ <<set $choiceMadeFath = false>>\ <<run window.spendEnergy(0)>>\ <<run window.nextTime()>>\ <<run updateAllUI()>>\ <<goto "Garage">>\ <</link>>\ <</if>>\ <</if>>\ <</if>>\ </div>
:root{ --bg-main:#1a1a24; --bg-card:#222232; --accent:#f0c040; --success:#4CAF50; --danger:#d32f2f; --text:#e0e0ff; } /* ===== BASE RESET ===== */ html, body{ margin:0; padding:0; } /* ===== FIX SUGARCUBE DEFAULT OFFSET ===== */ #story{ margin-left:0 !important; padding-left:0 !important; text-align:left !important; } /* ===== LAYOUT ===== */ #passages{ margin-left:280px !important; /* width of sidebar */ width:calc(100% - 280px) !important; box-sizing:border-box !important; padding:15px !important; } /* make every passage full width */ #passages .passage{ max-width:none !important; width:100% !important; margin:0 !important; } #passages .passage > *{ max-width:none !important; } #main-content, #main-text{ width:100% !important; max-width:none !important; margin:0 !important; padding:0 !important; display:block !important; /* FIX: no flex surprises */ } /* ================= SIDEBAR ================= */ #custom-sidebar{ position:fixed; left:0; top:0; width:280px; height:100vh; background:var(--bg-main); color:var(--text); padding:15px; overflow-y:auto; border-right:2px solid #2a2a3a; box-sizing:border-box; z-index:1000; } .top-back-btn{ width:100%; background:#2a2a3a; border:1px solid #444; color:#fff; padding:8px; border-radius:6px; cursor:pointer; margin-bottom:10px; } .top-back-btn:hover{ background:var(--danger); } .stat-block{ background:var(--bg-card); border-radius:8px; padding:10px; margin-bottom:10px; } .stat-title{ color:var(--accent); font-weight:700; margin-bottom:6px; font-size:.95em; } /* QUICK CONTROL */ .compact-control-grid{ display:flex; justify-content:space-between; gap:8px; } .compact-char{ text-align:center; } .compact-icon{ font-size:1.3em; } .compact-btn{ width:26px; height:26px; border-radius:50%; border:2px solid #444; background:#2a2a3a; color:#fff; cursor:pointer; margin:4px 0; display:flex; align-items:center; justify-content:center; font-size:.75em; } .compact-btn.free{ border-color:var(--success); color:var(--success); } .compact-btn.controlled{ background:var(--success); color:#000; } .compact-btn.disabled{ opacity:.4; cursor:not-allowed; } .compact-status{ font-size:.6em; color:#aaa; } /* UTIL */ .util-btn{ width:100%; background:#2a2a3a; border:1px solid #444; border-radius:6px; padding:7px; margin-top:5px; color:#fff; cursor:pointer; font-size:.9em; } .util-btn:hover{ border-color:var(--accent); } /* ================= HALL ROOMS ================= */ .rooms-columns-container{ width:100% !important; max-width:none !important; display:flex !important; gap:20px; align-items:flex-start; } .rooms-column{ flex:1 1 0; min-width:0; } .rooms-column h3{ margin:0 0 6px 0; padding-bottom:4px; border-bottom:2px solid #444; font-size:.95em; text-align:left; color:#fff; min-height:34px; display:flex; align-items:center; } /* list */ .rooms-container{ display:flex; flex-direction:column; gap:6px; margin-top:6px; } /* room links */ .rooms-container a, .rooms-container a.link-internal, .rooms-container a.link-external{ display:block; width:100%; box-sizing:border-box; background:#1f1f2e; border:1px solid #333; border-radius:6px; padding:9px 12px; text-decoration:none; color:#fff; font-size:.95em; transition:.15s; } .rooms-container a:hover, .rooms-container a.link-internal:hover, .rooms-container a.link-external:hover{ background:#2a2a3a; border-color:var(--accent); transform:translateX(3px); } /* LOCKED ROOM CARD */ .locked-room{ background:#1a1a25; border:1px solid #444; border-radius:6px; padding:9px 12px; color:#aaa; font-size:.9em; } .room-price{ margin-top:4px; font-size:.85em; color:var(--accent); } .locked-room a{ display:inline-block; margin-top:6px; padding:6px 10px; background:#2a2a3a; border:1px solid #555; border-radius:4px; color:#fff; text-decoration:none; font-size:.85em; } .locked-room a:hover{ border-color:var(--accent); } .no-money{ margin-top:6px; font-size:.8em; color:#f87171; } /* =============================== ACTION BUTTONS =============================== */ .actions{ display:flex; flex-direction:column; gap:8px; margin-top:12px; } /* IMPORTANT: kill accidental BR spacing */ .actions br{ display:none !important; } .action-btn{ display:flex; align-items:center; justify-content:space-between; gap:10px; background:#1f1f2e; border:1px solid #333; border-radius:8px; padding:10px 12px; color:#fff; text-decoration:none; font-size:.95em; transition:.15s; } .action-btn:hover{ background:#2a2a3a; border-color:var(--accent); transform:translateX(2px); } .action-btn.primary{ border-color:#3b3b55; background:#23233a; } .action-btn .left{ display:flex; align-items:center; gap:8px; min-width:0; } .action-btn .label{ white-space:nowrap; overflow:hidden; text-overflow:ellipsis; } .action-btn .cost{ font-size:.85em; color:#bbb; padding:2px 8px; border:1px solid #444; border-radius:999px; background:rgba(255,255,255,0.04); } .action-btn.disabled{ opacity:.45; cursor:not-allowed; transform:none !important; border-color:#444 !important; } .action-hint{ margin-top:8px; font-size:.85em; color:#aaa; } .section-title{ margin-top:14px; margin-bottom:6px; padding-bottom:4px; border-bottom:1px solid #333; color:var(--accent); font-weight:700; font-size:.95em; } /* =============================== ROOM BACKGROUND SYSTEM (FIXED) =============================== */ .room{ position:relative; box-sizing:border-box; padding:20px 20px 30px; background-size:cover; background-position:center; background-repeat:no-repeat; display:block !important; } .room::before{ content:""; position:absolute; inset:0; background:rgba(0,0,0,0.45); z-index:0; } .room-content{ position:relative; z-index:1; max-width:1100px; /* шире контент */ width:100%; margin:0 auto; /* центрируем */ display:block !important; } /* room title if you use it */ .room-title{ margin: 0 0 12px 0; color:#fff; font-size: 1.8em; } /* FIX: margin on both sides so spacing stays consistent */ .room-card{ background:rgba(26,26,36,0.85); border:1px solid #333; border-radius:14px; padding:14px 16px; margin:14px 0 !important; /* IMPORTANT: no huge vertical gaps */ backdrop-filter:blur(4px); } /* =============================== ROOM STATUS CARD (Empty / Present) =============================== */ .occupied, .empty{ max-width:420px; margin:20px auto; padding:12px 18px; background:rgba(20,20,30,0.65); border-radius:14px; text-align:center; backdrop-filter:blur(4px); } .notice{ text-align:center; color:#bbb; font-size:.95em; } html, body{ height:auto !important; overflow-y:auto !important; } /* =============================== CSS links =============================== */ .inline-links { margin-top: 10px; } .inline-links a { margin: 0 6px; } .inline-links { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; } .inline-links a:not(:last-child)::after { content: " || "; margin-left: 8px; color: #888; } .locked { color: #aa4444; margin: 0 6px; } .no-energy { color: orange; } /* ================= MOBILE ================= */ @media (max-width:900px){ #passages{ margin-left:0 !important; width:100% !important; } #custom-sidebar{ position:relative; width:100%; height:auto; border-right:none; border-bottom:2px solid #2a2a3a; } .rooms-columns-container{ display:block !important; } }
:: Attic <div id="main-content"> <div id="main-text"> <h2>Attic</h2> <img src="img/build/rooms/attic.jpg" width="200" class="story-image"> <p>This is your sanctuary. As a spirit, resting here restores your energy, but it requires you to release control of your physical hosts.</p> <<if $energy < 10>> <div style="margin: 20px 0;"> <<link "🛏️ Rest and Recharge">> <<set $energy = 10>> <<set $controlledCharacter = null>> <<set $hasDaughter = false>> <<set $hasFather = false>> <<set $hasMother = false>> <<run window.nextTime()>> <<run window.updateAllUI()>> <<goto "Hall">> <</link>> </div> <div class="return-link"> [[← Return to Hall (no rest)->Hall]] </div> <<else>> <p style="color: #85e885;">Your energy is already full. You are ready to influence the living.</p> <div class="return-link"> [[← Return to Hall->Hall]] </div> <</if>> </div> </div>
[[Hall]] <div class="media-placeholder"> <<print '<img src="img/father/bathroom/help' + random(4, 5) + '.gif" width="500">'>> </div> <div class="media-placeholder"> <<print '<img src="img/father/daughterroom/help' + random(6, 8) + '.gif" width="500" alt="Help scene">'>> </div> <div class="media-placeholder"> <<print '<img src="img/father/daughterroom/help' + random(6, 8) + '.gif" width="500">'>> </div> <div style="transform: scale(1); transform-origin: top left;"> [img[String.format('img/father/daughterroom/nsex' + random(1, 3) + '.gif')]] </div> <div style="transform: scale(1); transform-origin: top left;"> [img[String.format('img/father/daughterroom/nbj' + random(1, 3) + '.gif')]] </div> <div class="media-placeholder"> <img src="img/father/daughterroom/help3.gif" width="500"> </div> <div class="media-placeholder"> <img src="img/father/daughterroom/help2.gif" width="500"> </div> <div class="media-placeholder"> <img src="img/father/daughterroom/help1.gif" width="500"> </div> <div style="transform: scale(0.5); transform-origin: top left;"> [img[String.format('img/daughter/fathercabinet/sex' + random(1, 2) + '.gif')]] </div> <img src="img/daughter/bathroom/mast.gif" width="400"> <img src="img/daughter/bathroom/bj.gif" width="400"> <div style="transform: scale(0.5); transform-origin: top left;"> [img[String.format('img/daughter/bathroom/sex' + random(1, 2) + '.gif')]] </div> <div style="transform: scale(0.5); transform-origin: top left;"> [img[String.format('img/daughter/seduce/tease' + random(1, 2) + '.gif')]] </div> <<set _rand = random(1, 2)>> <img src="img/daughter/seduce/tease<<print _rand>>.gif" width="400"> [img[String.format('img/daughter/seduce/tease5.gif')]] [img['img/daughter/seduce/tease5.gif']] <img src="img/daughter/seduce/tease5.gif"> <img src="img/daughter/seduce/tease5.gif" alt="Гифка"> <img src="img/daughter/seduce/tease5.gif"> [img[String.format('img/daughter/seduce/tease5.gif') width="400"]] [img[String.format('img/daughter/seduce/tease5.gif') height="300"]] [img[String.format('img/daughter/seduce/tease5.gif') width="400" height="auto"]] [img[String.format('img/daughter/seduce/tease5.gif') style="width: 400px; height: auto;"]] [img[String.format('img/daughter/seduce/tease5.gif') style="max-width: 400px; height: auto;"]] <img src="img/daughter/seduce/tease5.gif" width="400"> <img src="img/daughter/seduce/tease5.gif" height="300"> <img src="img/daughter/seduce/tease5.gif" width="400" height="auto"> <img src="img/daughter/seduce/tease5.gif" style="width: 400px; height: auto;"> <img src="img/daughter/seduce/tease5.gif" style="max-width: 400px; height: auto;"> <img src="img/daughter/seduce/tease5.gif" style="width: 50%; height: auto;"> <img src="img/daughter/seduce/tease5.gif" style="width: 400px; height: 300px; object-fit: cover;"> <div style="width: 400px; height: auto;"> <img src="img/daughter/seduce/tease5.gif" style="width: 100%; height: auto;"> </div>
:: FatherBedRoomScene2 <div id="main-text">\ <h2 class="room-title">Advanced Interaction</h2>\ <p>With increased corruption and deep trust, you decide to take a much bolder step...</p>\ <<if not $fatherScene2Choice>>\ <div class="player-choice">\ <div class="choice-title">What to do?</div>\ <<link "💋 Show underwear">>\ <<set $fatherScene2Choice = "kiss">>\ <<goto "FatherBedRoomScene2">>\ <</link>> <<link "👋 'Accidentally' flash your body">>\ <<set $fatherScene2Choice = "touch">>\ <<goto "FatherBedRoomScene2">>\ <</link>> <<link "💬 Say something ambiguous">>\ <<set $fatherScene2Choice = "hint">>\ <<goto "FatherBedRoomScene2">>\ <</link>> </div>\ <<else>>\ <<if $fatherScene2Choice == "kiss">>\ <div class="success-result">\ <p>The father completely freezes and stares at you, unable to take his eyes off your choice of clothes...</p>\ <div class="animation-box">\ <img src="img/daughter/seduce/tease5.gif" class="animation-content">\ </div>\ <p style="color:#ffaa44; font-weight:bold;">🔥 Stats: +8 Father Relations, +4 Daughter Corruption, +2 Father Corruption</p>\ <<set $chars.father.relations.daughter += 8>>\ <<set $chars.daughter.corruption += 4>>\ <<set $chars.father.corruption += 2>>\ </div>\ <<elseif $fatherScene2Choice == "touch">>\ <div class="success-result">\ <p>He takes a deep breath, looking at you in an entirely new light as the cloth slips away...</p>\ <div class="animation-box">\ <video autoplay loop muted playsinline class="animation-content">\ <source src="img/daughter/seduce/tease4.webm" type="video/webm">\ </video>\ </div>\ <p style="color:#ffaa44; font-weight:bold;">🔥 Stats: +6 Father Relations, +3 Daughter Corruption, +1 Father Corruption</p>\ <<set $chars.father.relations.daughter += 6>>\ <<set $chars.daughter.corruption += 3>>\ <<set $chars.father.corruption += 1>>\ </div>\ <<else>>\ <div class="success-result">\ <p>Your slow, ambiguous comment hits the mark. Your father struggles with heavy thoughts...</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 Stats: +5 Father Relations, +2 Daughter Corruption</p>\ <<set $chars.father.relations.daughter += 5>>\ <<set $chars.daughter.corruption += 2>>\ </div>\ <</if>>\ <<link "Continue">>\ <<set $fatherScene2Choice = false>>\ <<run window.nextTime()>>\ <<goto "ParentsRoom">>\ <</link>>\ <</if>>\ </div>
:: FatherBedRoomScene3 <div id="main-text">\ <h2 class="room-title">Intimate Interaction</h2>\ <p>Having stripped away any family hesitation, you approach your father for the ultimate breakthrough...</p>\ <<if not $fatherScene3Choice>>\ <div class="player-choice">\ <div class="choice-title">What to do?</div>\ <<link "💞 Offer to 'relieve his stress'">>\ <<set $fatherScene3Choice = "intimate">>\ <<goto "FatherBedRoomScene3">>\ <</link>>\ <<link "🔥 Offer to lock the door and be alone">>\ <<set $fatherScene3Choice = "alone">>\ <<goto "FatherBedRoomScene3">>\ <</link>>\ <<link "⚠️ Retreat (Too risky)">>\ <<set $fatherScene3Choice = "retreat">>\ <<goto "FatherBedRoomScene3">>\ <</link>>\ </div>\ <<else>>\ <<if $fatherScene3Choice == "intimate">>\ <div class="success-result">\ <p>You're overstepping the final mark... The father tries to protest at first, but your closeness completely shatters his resolve.</p>\ <div class="animation-box">\ [img[String.format('img/daughter/bljob/bl' + random(1, 2) + '.gif')]]\ </div>\ <p style="color:#ffaa44; font-weight:bold;">🔥 Stats: +15 Father Relations, +8 Daughter Corruption, +5 Father Corruption</p>\ <<set $chars.father.relations.daughter += 15>>\ <<set $chars.daughter.corruption += 8>>\ <<set $chars.father.corruption += 5>>\ </div>\ <<elseif $fatherScene3Choice == "alone">>\ <div class="success-result">\ <p>You quietly slide the bedroom lock closed. The absolute compliance in his eyes tells you everything.</p>\ <div class="animation-box">\ <img src="img/daughter/sex/dsex1.gif" class="animation-content">\ </div>\ <p style="color:#ffaa44; font-weight:bold;">🔥 Stats: +12 Father Relations, +6 Daughter Corruption, +3 Father Corruption</p>\ <<set $chars.father.relations.daughter += 12>>\ <<set $chars.daughter.corruption += 6>>\ <<set $chars.father.corruption += 3>>\ </div>\ <<else>>\ <div class="success-result">\ <p>You decide to break eye contact and turn away. Your father breathes out a long, heavy sigh of relief.</p>\ <p style="color:#85e885; font-weight:bold;">📈 Stats: +2 Father Relations</p>\ <<set $chars.father.relations.daughter += 2>>\ </div>\ <</if>>\ <<link "Continue">>\ <<set $fatherScene3Choice = false>>\ <<run window.nextTime()>>\ <<goto "ParentsRoom">>\ <</link>>\ <</if>>\ </div>
<div id="main-content"> <div id="main-text"> <h2>May be I should try to push her futher?</h2> <p>Just try, what could happen?</p> <<if not $choiceMadeDaughterBedroomFatherLvl1>> <div class="player-choice"> <div class="choice-title">Your actions:</div> <div class="player-choice inline-links"> <<link "Spy on your daughter">> <<set $choiceMadeDaughterBedroomFatherLvl1 = "help1">> <<goto "MomToDaughterKitchenLvl2">> <</link>> <<link "Harras her">> <<set $choiceMadeDaughterBedroomFatherLvl1 = "help2">> <<goto "MomToDaughterKitchenLvl2">> <</link>> <<link "Kiss">> <<set $choiceMadeDaughterBedroomFatherLvl1 = "help3">> <<goto "MomToDaughterKitchenLvl2">> <</link>> <<link "Finish your deals and go">> <<set $choiceMadeDaughterBedroomFatherLvl1 = "leave">> <<goto "Hall">> <</link>> </div> </div> <<else>> <<if $choiceMadeDaughterBedroomFatherLvl1 == "help1">> <div class="success-result"> <p>She's notice you, but continue her deals</p> <div class="media-placeholder"> <<print '<img src="img/father/bathroom/help' + random(1, 2) + '.gif" width="500">'>> </div> <<set $chars.mother.relations.daughter += 2>> <<set $chars.daughter.corruption += 1>> <<set $chars.mother.corruption += 2>> </div> <<elseif $choiceMadeDaughterBedroomFatherLvl1 == "help2">> <<if $chars.father.corruption >= 40 && $chars.father.relations.mother >= 45>> <div class="success-result"> <p>"You have a nice skin" - you touch her </p> <div class="media-placeholder"> <img src="img/father/bathroom/help3.gif" width="500"> </div> <<set $chars.mother.relations.daughter += 2>> <<set $chars.daughter.corruption += 1>> <<set $chars.mother.corruption += 2>> </div> <<else>> <div class="fail-result"> <p>"It's strange, mom, what are u doing??" - Need to rise our relationships and corruption (Father corr = 40 or more, Relat = 45 or more)</p> <<set $chars.mother.relations.daughter -= 1>> </div> <</if>> <<elseif $choiceMadeDaughterBedroomFatherLvl1 == "help3">> <<if $chars.father.corruption >= 45 && $chars.father.relations.mother >= 50>> <div class="success-result"> <p>You lips touch her lips. Amazing feelings</p> <div class="media-placeholder"> <<print '<img src="img/father/bathroom/help' + random(4, 5) + '.gif" width="500">'>> </div> <<set $chars.mother.relations.daughter += 2>> <<set $chars.daughter.corruption += 1>> <<set $chars.mother.corruption += 2>> </div> <<else>> <div class="fail-result"> <p>"It's strange, mom, what are u doing??" - Need to rise our relationships and corruption(Father corr = 45 or more, Relat = 50 or more)</p> <<set $chars.mother.relations.daughter -= 1>> </div> <</if>> <<elseif $choiceMadeDaughterBedroomFatherLvl1 == "leave">> <div class="neutral-result"> <p>Just leave her alone</p> <<set $chars.mother.relations.daughter += 1>> </div> <</if>> <div class="continue-button"> <<link "Continue">> <<set $choiceMadeDaughterBedroomFatherLvl1 = false>> <<run window.nextTime()>> <<goto "ParentsRoom">> <</link>> </div> <</if>> </div> </div>
<div id="main-text">\ <h2 class="room-title">Kitchen (Mother Control)</h2>\ <p>You step into the kitchen. Your daughter is here. What will you do?</p>\ <div class="player-choice inline-links" style="display: flex; flex-direction: column; gap: 12px; margin-top: 20px;">\ <div class="choice-title" style="font-weight: bold; color: #e8c885;">Choose level of interaction:</div>\ <<if $chars.mother.corruption >= 0 and $chars.daughter.corruption >= 0 and $chars.daughter.relations.mother >= 0>>\ <<if window.canSpendEnergy(1)>>\ <<link "💬 Level 1: Light Interaction (0-50) (1⚡)">>\ <<run window.spendEnergy(1)>>\ <<goto "MomToDaughterKitchenLvl1">>\ <</link>>\ <<else>>\ <span style="color: #555; cursor: not-allowed;">💬 Level 1 (1⚡) <span style="color: #ff4444;">(Not enough energy)</span></span>\ <</if>>\ <<else>>\ <span class="locked">🔒 Level 1: Light Interaction (0-50)</span>\ <</if>>\ <<if $chars.mother.corruption >= 25 and $chars.daughter.corruption >= 51 and $chars.daughter.relations.mother >= 51>>\ <<if window.canSpendEnergy(1)>>\ <<link "🔥 Level 2: Heavy Interaction (51+) (1⚡)">>\ <<run window.spendEnergy(1)>>\ <<goto "MomToDaughterKitchenLvl2">>\ <</link>>\ <<else>>\ <span style="color: #555; cursor: not-allowed;">🔥 Level 2 (1⚡) <span style="color: #ff4444;">(Not enough energy)</span></span>\ <</if>>\ <<else>>\ <span class="locked">🔒 Level 2: Heavy Interaction (Daughter Corruption ≥51, Relations ≥51)</span>\ <</if>>\ <div style="margin-top: 15px;">\ <<link "← Return to Kitchen">>\ <<run window.spendEnergy(0)>>\ <<goto "Kitchen">>\ <</link>>\ </div>\ </div>\ </div>
<div id="main-content"> <div id="main-text"> <h2>You're with your husband in the bedroom.</h2> <p>Honey, Could i come in?</p> <<if not $choiceMadeDaughterBedroomFatherLvl1>> <div class="player-choice"> <div class="choice-title">Your actions:</div> <div class="player-choice inline-links"> <<link "Talk">> <<set $choiceMadeDaughterBedroomFatherLvl1 = "help1">> <<goto "MomToDaughterKitchenLvl1">> <</link>> <<link "Take a towel">> <<set $choiceMadeDaughterBedroomFatherLvl1 = "help2">> <<goto "MomToDaughterKitchenLvl1">> <</link>> <<link "Watch">> <<set $choiceMadeDaughterBedroomFatherLvl1 = "help3">> <<goto "MomToDaughterKitchenLvl1">> <</link>> <<link "Finish your deals and go">> <<set $choiceMadeDaughterBedroomFatherLvl1 = "leave">> <<goto "Hall">> <</link>> </div> </div> <<else>> <<if $choiceMadeDaughterBedroomFatherLvl1 == "help1">> <div class="success-result"> <p>Just a small talk</p> <div class="media-placeholder"> <<print '<img src="img/father/bathroom/help' + random(1, 2) + '.gif" width="500">'>> </div> <<set $chars.mother.relations.daughter += 2>> <<set $chars.daughter.corruption += 1>> </div> <<elseif $choiceMadeDaughterBedroomFatherLvl1 == "help2">> <<if $chars.mother.relations.daughter >= 5>> <div class="success-result"> <p>I bring a pillow for you, honey</p> <div class="media-placeholder"> <img src="img/father/bathroom/help3.gif" width="500"> </div> <<set $chars.mother.relations.daughter += 2>> <<set $chars.daughter.corruption += 1>> </div> <<else>> <div class="fail-result"> <p>"It's strange, mom, why are you looking at me like that??" - Need to rise our relationships</p> <<set $chars.mother.relations.daughter -= 1>> </div> <</if>> <<elseif $choiceMadeDaughterBedroomFatherLvl1 == "help3">> <<if $chars.mother.relations.daughter >= 10>> <div class="success-result"> <p>You just starring on her</p> <div class="media-placeholder"> <<print '<img src="img/father/bathroom/help' + random(4, 5) + '.gif" width="500">'>> </div> <<set $chars.mother.relations.daughter += 2>> <<set $chars.daughter.corruption += 1>> <<set $chars.mother.corruption += 1>> </div> <<else>> <div class="fail-result"> <p>"It's strange, mom, what are u doing??" - Need to rise our relationships</p> <<set $chars.mother.relations.daughter -= 1>> </div> <</if>> <<elseif $choiceMadeDaughterBedroomFatherLvl1 == "leave">> <div class="neutral-result"> <p>Just leave her alone</p> <<set $chars.mother.relations.daughter += 1>> </div> <</if>> <div class="continue-button"> <<link "Continue">> <<set $choiceMadeDaughterBedroomFatherLvl1 = false>> <<run window.nextTime()>> <<goto "Kitchen">> <</link>> </div> <</if>> </div> </div>
<div id="main-text">\ <h2 class="room-title">Bedroom — Husband</h2>\ <p>You quietly enter the parents' bedroom. Your husband is resting. The atmosphere is intimate...</p>\ <div class="player-choice">\ <div class="choice-title">Choose level of interaction:</div>\ <<if $chars.mother.corruption >= 30 and $chars.father.relations.mother >= 30>>\ <<if window.canSpendEnergy(1)>>\ <<link "💋 Level 1: Seduction (1⚡)">>\ <<run window.spendEnergy(1)>>\ <<goto "WifeToHusBedLvl1">>\ <</link>>\ <<else>>\ <span style="color: #ff4444;">Level 1 (1⚡) — Not enough energy</span>\ <</if>>\ <<else>>\ <div class="locked">🔒 Level 1: Seduction (Mother Corruption ≥30, Relations ≥30)</div>\ <</if>>\ <<if $chars.mother.corruption >= 50 and $chars.father.relations.mother >= 50>>\ <<if window.canSpendEnergy(2)>>\ <<link "🔥 Level 2: Deep Intimacy (2⚡)">>\ <<run window.spendEnergy(2)>>\ <<goto "WifeToHusBedLvl2">>\ <</link>>\ <<else>>\ <span style="color: #ff4444;">Level 2 (2⚡) — Not enough energy</span>\ <</if>>\ <<else>>\ <div class="locked">🔒 Level 2: Deep Intimacy (Mother Corruption ≥50, Relations ≥50)</div>\ <</if>>\ <<link "← Return to Parents Room">>\ <<run window.spendEnergy(0)>>\ <<goto "ParentsRoom">>\ <</link>>\ </div>\ </div>
<div id="main-content"> <div id="main-text"> <h2>May be I should try to push her futher?</h2> <p>Just try, what could happen?</p> <<if not $choiceMadeDaughterBedroomFatherLvl1>> <div class="player-choice"> <div class="choice-title">Your actions:</div> <div class="player-choice inline-links"> <<link "Spy on your daughter">> <<set $choiceMadeDaughterBedroomFatherLvl1 = "help1">> <<goto "MomToDaughterKitchenLvl2">> <</link>> <<link "Harras her">> <<set $choiceMadeDaughterBedroomFatherLvl1 = "help2">> <<goto "MomToDaughterKitchenLvl2">> <</link>> <<link "Kiss">> <<set $choiceMadeDaughterBedroomFatherLvl1 = "help3">> <<goto "MomToDaughterKitchenLvl2">> <</link>> <<link "Finish your deals and go">> <<set $choiceMadeDaughterBedroomFatherLvl1 = "leave">> <<goto "Hall">> <</link>> </div> </div> <<else>> <<if $choiceMadeDaughterBedroomFatherLvl1 == "help1">> <div class="success-result"> <p>She's notice you, but continue her deals</p> <div class="media-placeholder"> <<print '<img src="img/father/bathroom/help' + random(1, 2) + '.gif" width="500">'>> </div> <<set $chars.mother.relations.daughter += 2>> <<set $chars.daughter.corruption += 1>> <<set $chars.mother.corruption += 2>> </div> <<elseif $choiceMadeDaughterBedroomFatherLvl1 == "help2">> <<if $chars.father.corruption >= 40 && $chars.father.relations.mother >= 45>> <div class="success-result"> <p>"You have a nice skin" - you touch her </p> <div class="media-placeholder"> <img src="img/father/bathroom/help3.gif" width="500"> </div> <<set $chars.mother.relations.daughter += 2>> <<set $chars.daughter.corruption += 1>> <<set $chars.mother.corruption += 2>> </div> <<else>> <div class="fail-result"> <p>"It's strange, mom, what are u doing??" - Need to rise our relationships and corruption (Father corr = 40 or more, Relat = 45 or more)</p> <<set $chars.mother.relations.daughter -= 1>> </div> <</if>> <<elseif $choiceMadeDaughterBedroomFatherLvl1 == "help3">> <<if $chars.father.corruption >= 45 && $chars.father.relations.mother >= 50>> <div class="success-result"> <p>You lips touch her lips. Amazing feelings</p> <div class="media-placeholder"> <<print '<img src="img/father/bathroom/help' + random(4, 5) + '.gif" width="500">'>> </div> <<set $chars.mother.relations.daughter += 2>> <<set $chars.daughter.corruption += 1>> <<set $chars.mother.corruption += 2>> </div> <<else>> <div class="fail-result"> <p>"It's strange, mom, what are u doing??" - Need to rise our relationships and corruption(Father corr = 45 or more, Relat = 50 or more)</p> <<set $chars.mother.relations.daughter -= 1>> </div> <</if>> <<elseif $choiceMadeDaughterBedroomFatherLvl1 == "leave">> <div class="neutral-result"> <p>Just leave her alone</p> <<set $chars.mother.relations.daughter += 1>> </div> <</if>> <div class="continue-button"> <<link "Continue">> <<set $choiceMadeDaughterBedroomFatherLvl1 = false>> <<run window.nextTime()>> <<goto "LivingRoom">> <</link>> </div> <</if>> </div> </div>
<div id="main-text">\ <h2 class="room-title">Living Room</h2>\ <div class="animation-box"><img src="img/build/rooms/livingroom.png" class="animation-content"></div>\ <p>A spacious and cozy living room.</p>\ <div class="room-occupants" style="margin: 15px 0; padding: 10px; background: rgba(255,255,255,0.02); border-radius: 6px; border: 1px solid rgba(255,255,255,0.05);">\ <<set _here = []>>\ <<if $characterLocations.daughter == "LivingRoom">><<set _here.push("👧 Daughter")>><</if>>\ <<if $characterLocations.father == "LivingRoom">><<set _here.push("👨 Father")>><</if>>\ <<if $characterLocations.mother == "LivingRoom">><<set _here.push("👩 Mother")>><</if>>\ <<if _here.length == 0>><span style="color: #777; font-style: italic;">Status: Empty</span><<else>><span style="color: #e8c885; font-weight: bold;">Present here: <<print _here.join(" • ")>></span><</if>>\ </div>\ <div class="actions-container" style="margin-top: 20px; display: flex; flex-direction: column; gap: 12px;">\ <<if $controlledCharacter == "daughter">>\ <<if $characterLocations.father == "LivingRoom">><div class="interaction-section"><<link "📺 Sit together on the couch">><<goto "DaughterFatherLivingChoice">><</link>></div><</if>>\ <<if $characterLocations.mother == "LivingRoom">><div class="interaction-section"><<link "📺 Sit together on the couch">><<goto "DaughterToMomLivChoice">><</link>></div><</if>>\ <<elseif $controlledCharacter == "father">>\ <<if $characterLocations.daughter == "LivingRoom">><div class="interaction-section"><<link "📺 Sit together on the couch">><<goto "FatherDaughterLivingChoice">><</link>></div><</if>>\ <<if $characterLocations.mother == "LivingRoom">><div class="interaction-section"><<link "📺 Sit together on the couch">><<goto "HusToWifeLivChoice">><</link>></div><</if>>\ <<elseif $controlledCharacter == "mother">>\ <<if $characterLocations.daughter == "LivingRoom">><div class="interaction-section"><<link "📺 Sit together on the couch">><<goto "MomToDaughterLivChoice">><</link>></div><</if>>\ <<if $characterLocations.father == "LivingRoom">><div class="interaction-section"><<link "📺 Sit together on the couch">><<goto "WifeToHusLivChoice">><</link>></div><</if>>\ <</if>>\ <<if !$controlledCharacter or $controlledCharacter == "none">>\ <div class="notice" style="color: #ffaa44; background: rgba(255,170,68,0.05); padding: 12px; border-radius: 6px; border: 1px dashed rgba(255,170,68,0.2);">⚠️ Take control of a character.</div>\ <</if>>\ </div>\ <hr>\ [[← Return to Hall ->Hall]]\ </div>\
<div id="main-text">\ <h2 class="room-title">Father's Office</h2>\ \ <div class="animation-box">\ <img src="img/build/rooms/father_study.jpg" class="animation-content">\ </div>\ \ <p>A strict office with massive wooden furniture. There are documents on the table, and hunting trophies on the wall.</p>\ \ <<set _here = []>>\ <<if $characterLocations.daughter == "FathersStudy">><<run _here.push("👧 Daughter")>><</if>>\ <<if $characterLocations.father == "FathersStudy">><<run _here.push("👨 Father")>><</if>>\ <<if $characterLocations.mother == "FathersStudy">><<run _here.push("👩 Mother")>><</if>>\ <<if _here.length > 0>>\ <div style="color:#ffdd88; font-weight: bold; background: rgba(240,184,64,0.08); padding: 10px 15px; border-radius: 6px; margin: 15px 0; border-left: 3px solid var(--accent);">\ Present here: <<= _here.join(" • ") >>\ </div>\ <<else>>\ <div style="color:#777; font-style: italic;">The office is empty.</div>\ <</if>>\ <<if $controlledCharacter == "father">>\ <div class="player-choice">\ <<if window.canSpendEnergy(1)>>\ <<link "💼 Work with documents (1⚡)">>\ <<run window.spendEnergy(1)>>\ <<run window.nextTime()>>\ <<set _earned = random(20, 50)>>\ <<set $money += _earned>>\ <<set $chars.father.corruption += random(0, 2)>>\ <<run updateAllUI()>>\ <div class="success-result">\ <p>You spend several hours working with documents.</p>\ <p style="color:#85e885; font-weight:bold;">+$_earned (Total: $money$)</p>\ <<if random(1,100) <= 30>><p style="color:#ffaa44;">⚠️ Found opportunity for a grey scheme. Corruption +1</p><</if>>\ </div>\ <</link>>\ <<else>>\ <span class="locked">💼 Work with documents (1⚡) — Not enough energy</span>\ <</if>>\ </div>\ <<elseif $controlledCharacter == "daughter">>\ <<if $characterLocations.father == "FathersStudy">>\ <div class="player-choice">\ <h3>👨 Father is sitting at his desk:</h3>\ <<link "🗣️ Interact with Father">>\ <<run window.spendEnergy(1)>>\ <<run window.nextTime()>>\ <<goto "FatherStudyInteraction">>\ <</link>>\ </div>\ <</if>>\ <<elseif $controlledCharacter == "mother">>\ <<if $characterLocations.father == "FathersStudy">>\ <div class="player-choice">\ <h3>👨 Husband is in the study:</h3>\ <<link "🗣️ Talk to Husband">>\ <<run window.spendEnergy(1)>>\ <<run window.nextTime()>>\ <<goto "WifeToHusCabChoice">>\ <</link>>\ </div>\ <</if>>\ <<else>>\ <p style="color:#aaa; font-style:italic;">Select a character in the sidebar.</p>\ <</if>>\ <hr>\ [[← Return to Hall ->Hall]]\ </div>
<div id="main-text">\ <h2 class="room-title">Living Room — Father and Daughter</h2>\ <p>You are alone with your father in the living room. The TV is on in the background.</p>\ <<if $controlledCharacter != "daughter">>\ <p style="color: #ff4444;">You must be controlling your daughter to interact here.</p>\ <<link "← Return to Living Room">>\ <<run window.spendEnergy(0)>>\ <<goto "LivingRoom">>\ <</link>>\ <<else>>\ <<if not $choiceMadeLiving>>\ <div class="player-choice">\ <div class="choice-title">What will you do?</div>\ <<if window.canSpendEnergy(1)>>\ <<link "📺 Just watch TV together (1⚡)">>\ <<set $choiceMadeLiving = "neutral">>\ <<run window.spendEnergy(1)>>\ <<goto "DaughterFatherLivingChoice">>\ <</link>>\ <<else>>\ <span style="color: #ff4444;">Not enough energy (1⚡)</span>\ <</if>>\ <<if $chars.daughter.corruption >= 10 and $chars.father.relations.daughter >= 15>>\ <<if window.canSpendEnergy(1)>>\ <<link "💋 Sit closer and act flirtatious (1⚡)">>\ <<set $choiceMadeLiving = "close">>\ <<run window.spendEnergy(1)>>\ <<goto "DaughterFatherLivingChoice">>\ <</link>>\ <<else>>\ <span style="color: #ff4444;">Not enough energy (1⚡)</span>\ <</if>>\ <<else>>\ <div class="locked">🔒 Sit closer (Requires: 10 Corruption, 15 Relations)</div>\ <</if>>\ <<if $chars.daughter.corruption >= 30 and $chars.father.relations.daughter >= 40>>\ <<if window.canSpendEnergy(1)>>\ <<link "🔞 Very close: Intimate contact (1⚡)">>\ <<set $choiceMadeLiving = "veryclose">>\ <<run window.spendEnergy(1)>>\ <<goto "DaughterFatherLivingChoice">>\ <</link>>\ <<else>>\ <span style="color: #ff4444;">Not enough energy (1⚡)</span>\ <</if>>\ <<else>>\ <div class="locked">🔒 Very close (Requires: 30 Corruption, 40 Relations)</div>\ <</if>>\ <<link "← Leave">>\ <<set $choiceMadeLiving = false>>\ <<run window.spendEnergy(0)>>\ <<goto "LivingRoom">>\ <</link>>\ </div>\ <<else>>\ <<if $choiceMadeLiving == "neutral">>\ <div class="animation-box">\ <img src="img/daughter/livingroom/watch.gif" class="animation-content">\ </div>\ <div class="success-result">\ <p>You watch TV together. The atmosphere is calm and pleasant.</p>\ <p style="color:#85e885; font-weight:bold;">📈 +1 Relations, +1 Daughter Corruption</p>\ <<set $chars.father.relations.daughter += 1>>\ <<set $chars.daughter.corruption += 1>>\ </div>\ \ <<elseif $choiceMadeLiving == "close">>\ <div class="animation-box">\ <img src="img/daughter/livingroom/bj.gif" class="animation-content">\ </div>\ <div class="success-result">\ <p>You lean on his arm and flirt subtly. He doesn't pull away.</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 +2 Relations, +2 Daughter Corruption</p>\ <<set $chars.father.relations.daughter += 2>>\ <<set $chars.daughter.corruption += 2>>\ </div>\ \ <<elseif $choiceMadeLiving == "veryclose">>\ <div class="animation-box">\ <img src="img/daughter/livingroom/sex.gif" class="animation-content">\ </div>\ <div class="success-result">\ <p>You touch him intimately. The air becomes thick with forbidden desire.</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 +5 Relations, +5 Daughter Corruption, +3 Father Corruption</p>\ <<set $chars.father.relations.daughter += 5>>\ <<set $chars.daughter.corruption += 5>>\ <<set $chars.father.corruption += 3>>\ </div>\ <</if>>\ \ <<link "Continue">>\ <<set $choiceMadeLiving = false>>\ <<run window.spendEnergy(0)>>\ <<run window.nextTime()>>\ <<run updateAllUI()>>\ <<goto "LivingRoom">>\ <</link>>\ <</if>>\ <</if>>\ </div>
<div id="main-content"> <div id="main-text"> <h2>May be I should try to push her futher?</h2> <p>Just try, what could happen?</p> <<if not $choiceMadeDaughterBedroomFatherLvl1>> <div class="player-choice"> <div class="choice-title">Your actions:</div> <div class="player-choice inline-links"> <<link "Spy on your daughter">> <<set $choiceMadeDaughterBedroomFatherLvl1 = "help1">> <<goto "MomToDaughterKitchenLvl2">> <</link>> <<link "Harras her">> <<set $choiceMadeDaughterBedroomFatherLvl1 = "help2">> <<goto "MomToDaughterKitchenLvl2">> <</link>> <<link "Kiss">> <<set $choiceMadeDaughterBedroomFatherLvl1 = "help3">> <<goto "MomToDaughterKitchenLvl2">> <</link>> <<link "Finish your deals and go">> <<set $choiceMadeDaughterBedroomFatherLvl1 = "leave">> <<goto "Hall">> <</link>> </div> </div> <<else>> <<if $choiceMadeDaughterBedroomFatherLvl1 == "help1">> <div class="success-result"> <p>She's notice you, but continue her deals</p> <div class="media-placeholder"> <<print '<img src="img/father/bathroom/help' + random(1, 2) + '.gif" width="500">'>> </div> <<set $chars.mother.relations.daughter += 2>> <<set $chars.daughter.corruption += 1>> <<set $chars.mother.corruption += 2>> </div> <<elseif $choiceMadeDaughterBedroomFatherLvl1 == "help2">> <<if $chars.father.corruption >= 40 && $chars.father.relations.mother >= 45>> <div class="success-result"> <p>"You have a nice skin" - you touch her </p> <div class="media-placeholder"> <img src="img/father/bathroom/help3.gif" width="500"> </div> <<set $chars.mother.relations.daughter += 2>> <<set $chars.daughter.corruption += 1>> <<set $chars.mother.corruption += 2>> </div> <<else>> <div class="fail-result"> <p>"It's strange, mom, what are u doing??" - Need to rise our relationships and corruption (Father corr = 40 or more, Relat = 45 or more)</p> <<set $chars.mother.relations.daughter -= 1>> </div> <</if>> <<elseif $choiceMadeDaughterBedroomFatherLvl1 == "help3">> <<if $chars.father.corruption >= 45 && $chars.father.relations.mother >= 50>> <div class="success-result"> <p>You lips touch her lips. Amazing feelings</p> <div class="media-placeholder"> <<print '<img src="img/father/bathroom/help' + random(4, 5) + '.gif" width="500">'>> </div> <<set $chars.mother.relations.daughter += 2>> <<set $chars.daughter.corruption += 1>> <<set $chars.mother.corruption += 2>> </div> <<else>> <div class="fail-result"> <p>"It's strange, mom, what are u doing??" - Need to rise our relationships and corruption(Father corr = 45 or more, Relat = 50 or more)</p> <<set $chars.mother.relations.daughter -= 1>> </div> <</if>> <<elseif $choiceMadeDaughterBedroomFatherLvl1 == "leave">> <div class="neutral-result"> <p>Just leave her alone</p> <<set $chars.mother.relations.daughter += 1>> </div> <</if>> <div class="continue-button"> <<link "Continue">> <<set $choiceMadeDaughterBedroomFatherLvl1 = false>> <<run window.nextTime()>> <<goto "Kitchen">> <</link>> </div> <</if>> </div> </div>
// ===== ФУНКЦИЯ ОБНОВЛЕНИЯ ВСЕГО UI ===== window.updateAllUI = function() { try { var v = State.variables; // Если State.variables не существует - выходим if (!v) { console.warn("State.variables не определен"); return; } // Устанавливаем дефолтные значения если чего-то нет v.energy = v.energy || 0; v.day = v.day || 1; v.time = v.time || 1; v.maxEnergy = v.maxEnergy || 10; if (!v.timeNames) { v.timeNames = ["", "Утро", "День", "Вечер", "Ночь"]; } if (!v.chars) { v.chars = { daughter: { name: "Дочь", corruption: 0, relations: { father: 0, mother: 0 } }, father: { name: "Отец", corruption: 0, relations: { daughter: 0, mother: 0 } }, mother: { name: "Мать", corruption: 0, relations: { daughter: 0, father: 0 } } }; } // ОБНОВЛЯЕМ ПОЗИЦИИ ПРИ СТАРТЕ if (v.characterLocations && typeof updateCharacterPositions === 'function') { updateCharacterPositions(); } // КОНТРОЛЬ ПЕРСОНАЖА if ($("#ui-controlled").length) { if (v.energy > 0 && v.controlledCharacter && v.chars && v.chars[v.controlledCharacter]) { var charName = v.chars[v.controlledCharacter].name; $("#ui-controlled").text("Контроль: " + charName) .css("color", "#4CAF50"); } else { $("#ui-controlled").text("Контроль: никто") .css("color", "#888"); } } // Энергия if ($("#ui-energy").length) { $("#ui-energy").text(v.energy); } // День и время if ($("#ui-day").length) { $("#ui-day").text(v.day); } if ($("#ui-time").length) { var timeText = "Утро"; if (v.timeNames && v.timeNames[v.time]) { timeText = v.timeNames[v.time]; } $("#ui-time").text(timeText); } // Дочь (с проверкой существования) if ($("#ui-daughter-corruption").length) { if (v.chars && v.chars.daughter) { $("#ui-daughter-corruption").text(v.chars.daughter.corruption || 0); $("#ui-daughter-father").text(v.chars.daughter.relations.father || 0); $("#ui-daughter-mother").text(v.chars.daughter.relations.mother || 0); } } // Отец (с проверкой существования) if ($("#ui-father-corruption").length) { if (v.chars && v.chars.father) { $("#ui-father-corruption").text(v.chars.father.corruption || 0); $("#ui-father-daughter").text(v.chars.father.relations.daughter || 0); $("#ui-father-mother").text(v.chars.father.relations.mother || 0); } } // Мать (с проверкой существования) if ($("#ui-mother-corruption").length) { if (v.chars && v.chars.mother) { $("#ui-mother-corruption").text(v.chars.mother.corruption || 0); $("#ui-mother-daughter").text(v.chars.mother.relations.daughter || 0); $("#ui-mother-father").text(v.chars.mother.relations.father || 0); } } // ОБНОВЛЯЕМ КНОПКИ КОНТРОЛЯ В САЙДБАРЕ if (typeof updateSidebarControls === 'function') { updateSidebarControls(); } } catch (error) { console.error("Ошибка в updateAllUI:", error); } }; // ===== Перемещение персонажей ===== window.updateCharacterPositions = function() { try { var v = State.variables; if (!v) return; // НЕ перемещаем персонажей под контролем! // Только свободных NPC // Если дочь не под контролем if (v.controlledCharacter !== "daughter") { var daughterSchedule = { 1: "DaughterRoom", 2: "Kitchen", 3: "Bathroom", 4: "ParentsRoom" }; v.characterLocations.daughter = daughterSchedule[v.time] || "DaughterRoom"; } // Если отец не под контролем if (v.controlledCharacter !== "father") { var fatherSchedule = { 1: "ParentsRoom", 2: "ParentsRoom", 3: "ParentsRoom", 4: "ParentsRoom" }; v.characterLocations.father = fatherSchedule[v.time] || "FatherRoom"; } // Если мать не под контролем if (v.controlledCharacter !== "mother") { var motherSchedule = { 1: "Kitchen", 2: "Kitchen", 3: "ParentsRoom", 4: "ParentsRoom" }; v.characterLocations.mother = motherSchedule[v.time] || "Kitchen"; } } catch (error) { console.error("Ошибка в updateCharacterPositions:", error); } }; // ===== ВЗЯТИЕ КОНТРОЛЯ ===== window.takeControl = function(character) { try { var v = State.variables; if (v.energy < 1) { console.log("Недостаточно энергии"); return false; } // Сбрасываем ВСЕ флаги контроля v.hasDaughter = false; v.hasFather = false; v.hasMother = false; // Устанавливаем нового персонажа switch(character) { case "daughter": v.hasDaughter = true; break; case "father": v.hasFather = true; break; case "mother": v.hasMother = true; break; } v.controlledCharacter = character; v.energy -= 1; // ПЕРЕМЕЩАЕМ персонажа в текущую комнату! var currentRoom = SugarCube.Engine.activePassage.name; v.characterLocations[character] = currentRoom; console.log("Взят контроль над: " + character + " в комнате: " + currentRoom); updateAllUI(); return true; } catch (error) { console.error("Ошибка в takeControl:", error); return false; } }; // ===== БЫСТРЫЙ КОНТРОЛЬ ИЗ САЙДБАРА ===== // ===== БЫСТРЫЙ КОНТРОЛЬ ИЗ САЙДБАРА ===== window.takeControlFromSidebar = function(character) { try { var v = State.variables; // 1. Проверка энергии if (v.energy < 1) { alert("Недостаточно энергии для контроля!"); return false; } // 2. Если уже контролируем этого персонажа - освобождаем if (v.controlledCharacter === character) { // Освобождаем контроль v.controlledCharacter = null; v.hasDaughter = false; v.hasFather = false; v.hasMother = false; console.log("Освобождён контроль: " + character); // ОБНОВЛЯЕМ ВСЁ window.updateAllUI(); return true; } // 3. Берём контроль var success = window.takeControl(character); // 4. НЕ ПЕРЕНОСИМСЯ в другую локацию - остаёмся здесь // Просто обновляем UI if (success) { window.updateAllUI(); // Показываем сообщение в текущей комнате var charName = v.chars[character] ? v.chars[character].name : character; var roomName = v.rooms[SugarCube.Engine.activePassage.name] || SugarCube.Engine.activePassage.name; // Добавляем сообщение прямо в интерфейс setTimeout(function() { var msg = document.createElement('div'); msg.className = 'control-notification'; msg.innerHTML = '👻 <b>Взят контроль над ' + charName + '</b> в ' + roomName; msg.style.cssText = 'background:#4CAF50;color:white;padding:10px;margin:10px 0;border-radius:5px;'; document.getElementById('main-text').prepend(msg); }, 100); } return success; } catch (error) { console.error("Ошибка в takeControlFromSidebar:", error); return false; } }; // ===== ОБНОВЛЕНИЕ КНОПОК КОНТРОЛЯ В САЙДБАРЕ ===== window.updateSidebarControls = function() { try { var v = State.variables; if (!v) return; var chars = ["daughter", "father", "mother"]; var roomNames = v.rooms || {}; chars.forEach(function(charId) { var btn = $("#btn-" + charId); var status = $("#status-" + charId); var row = $("#control-row-" + charId); if (!btn.length || !status.length) return; // 1. Получаем локацию персонажа var location = "?"; if (v.characterLocations && v.characterLocations[charId]) { var roomCode = v.characterLocations[charId]; location = roomNames[roomCode] || roomCode; } // Сокращаем длинные названия if (location.length > 12) { location = location.substring(0, 10) + ".."; } // 2. Обновляем статус (локацию) status.text("(" + location + ")"); // 3. Обновляем кнопку if (v.controlledCharacter === charId) { // Под контролем btn.text("Out"); btn.css({ "background": "#d32f2f", "color": "white" }); btn.prop("title", "out " + getCharName(charId)); if (row.length) row.css("opacity", "1"); } else if (v.energy < 1) { // Нет энергии btn.text("НЕТ ЭНЕРГИИ"); btn.css({ "background": "#666", "color": "#aaa" }); btn.prop("disabled", true); btn.prop("title", "Недостаточно энергии"); if (row.length) row.css("opacity", "0.7"); } else { // Свободен btn.text("IN"); btn.css({ "background": "#4CAF50", "color": "white" }); btn.prop("disabled", false); btn.prop("title", "Взять контроль над " + getCharName(charId) + " (в " + location + ")"); if (row.length) row.css("opacity", "1"); } }); function getCharName(id) { if (v.chars && v.chars[id]) { return v.chars[id].name; } var names = { daughter: "Дочь", father: "Отец", mother: "Мать" }; return names[id]; } } catch (error) { console.error("Ошибка в updateSidebarControls:", error); } }; // ===== ФУНКЦИЯ СМЕНЫ ВРЕМЕНИ ===== window.nextTime = function() { try { var v = State.variables; v.time += 1; if (v.time > 4) { v.time = 1; v.day += 1; } // Обновляем позиции персонажей updateCharacterPositions(); updateAllUI(); } catch (error) { console.error("Ошибка в nextTime:", error); } }; // ===== СОЗДАНИЕ САЙДБАРА ===== $(document).on(':passagestart', function() { setTimeout(function() { try { var v = State.variables; // Создаём сайдбар только если его нет if ($("#custom-sidebar").length === 0) { // Устанавливаем безопасные значения var energy = v.energy || 0; var maxEnergy = v.maxEnergy || 10; var day = v.day || 1; var time = v.time || 1; // Безопасное получение имени персонажа var controlledName = "никто"; if (v.controlledCharacter && v.chars && v.chars[v.controlledCharacter]) { controlledName = v.chars[v.controlledCharacter].name; } // Безопасные значения для статистики var daughterCorruption = (v.chars && v.chars.daughter) ? v.chars.daughter.corruption : 0; var daughterFather = (v.chars && v.chars.daughter && v.chars.daughter.relations) ? v.chars.daughter.relations.father : 0; var daughterMother = (v.chars && v.chars.daughter && v.chars.daughter.relations) ? v.chars.daughter.relations.mother : 0; var fatherCorruption = (v.chars && v.chars.father) ? v.chars.father.corruption : 0; var fatherDaughter = (v.chars && v.chars.father && v.chars.father.relations) ? v.chars.father.relations.daughter : 0; var fatherMother = (v.chars && v.chars.father && v.chars.father.relations) ? v.chars.father.relations.mother : 0; var motherCorruption = (v.chars && v.chars.mother) ? v.chars.mother.corruption : 0; var motherDaughter = (v.chars && v.chars.mother && v.chars.mother.relations) ? v.chars.mother.relations.daughter : 0; var motherFather = (v.chars && v.chars.mother && v.chars.mother.relations) ? v.chars.mother.relations.father : 0; var timeText = "Утро"; if (v.timeNames && v.timeNames[time]) { timeText = v.timeNames[time]; } // ===== УНИВЕРСАЛЬНАЯ НАВИГАЦИЯ ===== window.navBack = function() { try { // Вариант 1: Современный SugarCube if (typeof window.story !== 'undefined' && window.story.state !== 'undefined') { var history = window.story.state.history; if (history && history.length > 1) { window.story.show(history[history.length - 2].title); return; } } // Вариант 2: Old SugarCube if (typeof History !== 'undefined' && History.length > 1) { History.back(); return; } // Вариант 3: Стандартный браузер if (typeof history !== 'undefined' && history.length > 1) { history.back(); return; } // Вариант 4: Просто перезагрузка alert("Невозможно вернуться назад"); SugarCube.Engine.play("Hall"); } catch (error) { console.error("Ошибка навигации назад:", error); SugarCube.Engine.play("Hall"); } }; window.navForward = function() { try { // В SugarCube нет реального "вперёд", только в браузере if (typeof history !== 'undefined') { history.forward(); } else { alert("Навигация 'вперёд' не поддерживается в этой версии"); } } catch (error) { console.error("Ошибка навигации вперёд:", error); } }; // HTML САЙДБАРА var sidebarHTML = '\ <div id="custom-sidebar">\ <h3>Ghost</h3>\ \ <!-- КОМПАКТНЫЙ КОНТРОЛЬ -->\ <div class="stat-block compact-control">\ <div class="stat-title">👻 КОНТРОЛЬ</div>\ <div class="compact-control-grid">\ <!-- ДОЧЬ -->\ <div class="compact-char">\ <span class="compact-icon">👧</span>\ <button class="compact-btn free" id="btn-daughter" \ onclick="window.takeControlFromSidebar(\'daughter\')" \ title="Взять контроль: Дочь">\ Д\ </button>\ <span class="compact-status" id="status-daughter">спальня</span>\ </div>\ \ <!-- ОТЕЦ -->\ <div class="compact-char">\ <span class="compact-icon">👨</span>\ <button class="compact-btn free" id="btn-father" \ onclick="window.takeControlFromSidebar(\'father\')" \ title="Взять контроль: Отец">\ О\ </button>\ <span class="compact-status" id="status-father">ванная</span>\ </div>\ \ <!-- МАТЬ -->\ <div class="compact-char">\ <span class="compact-icon">👩</span>\ <button class="compact-btn free" id="btn-mother" \ onclick="window.takeControlFromSidebar(\'mother\')" \ title="Взять контроль: Мать">\ М\ </button>\ <span class="compact-status" id="status-mother">кухня</span>\ </div>\ </div>\ <div class="energy-hint">Энергия контроля: 1</div>\ </div>\ \ <!-- СТАТИСТИКА -->\ <div class="stat-block">\ <div class="stat-title">📊 СТАТИСТИКА</div>\ <div>Энергия: <b><span id="ui-energy">' + energy + '</span> / ' + maxEnergy + '</b></div>\ </div>\ \ <!-- ТЕКУЩИЙ КОНТРОЛЬ -->\ <div class="stat-block">\ <div class="stat-title">👻 КОНТРОЛЬ</div>\ <div id="ui-controlled">Контроль: ' + controlledName + '</div>\ </div>\ \ <!-- ДОЧЬ -->\ <div class="stat-block">\ <div class="stat-title">👧 ДОЧЬ</div>\ <div>Коррупция: <span id="ui-daughter-corruption">' + daughterCorruption + '</span></div>\ <div>К отцу: <span id="ui-daughter-father">' + daughterFather + '</span></div>\ <div>К матери: <span id="ui-daughter-mother">' + daughterMother + '</span></div>\ </div>\ \ <!-- ОТЕЦ -->\ <div class="stat-block">\ <div class="stat-title">👨 ОТЕЦ</div>\ <div>Коррупция: <span id="ui-father-corruption">' + fatherCorruption + '</span></div>\ <div>К дочери: <span id="ui-father-daughter">' + fatherDaughter + '</span></div>\ <div>К матери: <span id="ui-father-mother">' + fatherMother + '</span></div>\ </div>\ \ <!-- МАТЬ -->\ <div class="stat-block">\ <div class="stat-title">👩 МАТЬ</div>\ <div>Коррупция: <span id="ui-mother-corruption">' + motherCorruption + '</span></div>\ <div>К дочери: <span id="ui-mother-daughter">' + motherDaughter + '</span></div>\ <div>К отцу: <span id="ui-mother-father">' + motherFather + '</span></div>\ </div>\ \ <!-- ВРЕМЯ -->\ <div class="stat-block">\ <div class="stat-title">⏰ ВРЕМЯ</div>\ <div>День: <span id="ui-day">' + day + '</span></div>\ <div>Время: <span id="ui-time">' + timeText + '</span></div>\ </div>\ \ <!-- НАВИГАЦИЯ -->\ <div class="sidebar-menu">\ <div class="stat-title">НАВИГАЦИЯ</div>\ <button class="nav-btn" onclick="window.navBack()">⬅️ Назад</button>\ <button class="nav-btn" onclick="window.navForward()">➡️ Вперёд</button>\ <button class="nav-btn" onclick="SugarCube.Engine.restart()">🔄 Начать сначала</button>\ </div>\ \ <!-- УТИЛИТЫ -->\ <div class="stat-block">\ <div class="stat-title">⚙️ УТИЛИТЫ</div>\ <div class="utility-buttons">\ <button class="util-btn" onclick="window.saveGame()">\ <span class="util-btn-icon">💾</span> Сохранить\ </button>\ <button class="util-btn" onclick="window.loadGame()">\ <span class="util-btn-icon">📂</span> Загрузить\ </button>\ <button class="util-btn" onclick="window.reportBug()">\ <span class="util-btn-icon">🐛</span> Баг-репорт\ </button>\ <button class="util-btn restart-btn" onclick="window.restartGame()">\ <span class="util-btn-icon">🔄</span> Рестарт\ </button>\ </div>\ </div>\ </div>'; // Вставляем сайдбар $("#story").prepend(sidebarHTML); // Сдвигаем основной контент $("#passages").css({ "margin-left": "300px", "width": "calc(100vw - 300px)" }); } // Обновляем UI updateAllUI(); } catch (error) { console.error("Ошибка при создании сайдбара:", error); } }, 50); }); // ===== ПРОВЕРКА ЭНЕРГИИ ===== window.canAct = function() { try { return State.variables.energy > 0; } catch (error) { console.error("Ошибка в canAct:", error); return false; } }; window.canSpendEnergy = function(amount) { try { var v = State.variables; return v.energy >= amount; } catch (error) { console.error("Ошибка в canSpendEnergy:", error); return false; } }; // ===== ТРАТА ЭНЕРГИИ ===== window.spendEnergy = function(amount) { try { var v = State.variables; if (v.energy < amount) { return false; } v.energy -= amount; if (v.energy > v.maxEnergy) v.energy = v.maxEnergy; if (v.energy <= 0) { v.energy = 0; v.hasDaughter = false; v.hasFather = false; v.hasMother = false; v.controlledCharacter = null; updateAllUI(); } return true; } catch (error) { console.error("Ошибка в spendEnergy:", error); return false; } }; // ===== ВОССТАНОВЛЕНИЕ ЭНЕРГИИ ===== window.restoreEnergy = function(amount) { try { var v = State.variables; v.controlledCharacter = null; v.hasDaughter = false; v.hasFather = false; v.hasMother = false; v.energy += amount; if (v.energy > 10) v.energy = 10; updateAllUI(); } catch (error) { console.error("Ошибка в restoreEnergy:", error); } }; // ===== ОБРАБОТЧИК ПРИ СМЕНЕ ПАССАЖА ===== $(document).on(':passagestart', function () { try { var v = State.variables; if (v.energy <= 0) { v.choiceMadeFath = false; v.choiceMadeMom = false; if (SugarCube.Engine.activePassage.name === "UncurentFath" || SugarCube.Engine.activePassage.name === "UncurentMom" || SugarCube.Engine.activePassage.name === "DaughterRoom") { SugarCube.Engine.play("Hall"); } } } catch (error) { console.error("Ошибка в обработчике passagestart:", error); } }); // ===== ФУНКЦИЯ ПРОВЕРКИ КОНТРОЛЯ ===== window.isControlling = function(character) { try { var v = State.variables; return v.controlledCharacter === character; } catch (error) { console.error("Ошибка в isControlling:", error); return false; } }; // ===== НАВИГАЦИЯ ===== window.navBack = function() { try { // Попробуем разные методы для совместимости if (typeof History !== 'undefined' && History.back) { History.back(); } else if (typeof history !== 'undefined' && history.back) { history.back(); } else if (typeof SugarCube !== 'undefined' && SugarCube.Engine && SugarCube.Engine.back) { SugarCube.Engine.back(); } else { console.warn("Навигация назад недоступна"); alert("Навигация назад не поддерживается в этом браузере"); } } catch (error) { console.error("Ошибка навигации назад:", error); } }; window.navForward = function() { try { if (typeof History !== 'undefined' && History.forward) { History.forward(); } else if (typeof history !== 'undefined' && history.forward) { history.forward(); } else if (typeof SugarCube !== 'undefined' && SugarCube.Engine && SugarCube.Engine.forward) { SugarCube.Engine.forward(); } else { console.warn("Навигация вперёд недоступна"); alert("Навигация вперёд не поддерживается в этом браузере"); } } catch (error) { console.error("Ошибка навигации вперёд:", error); } }; // ===== УТИЛИТЫ ===== window.saveGame = function() { try { if (typeof SaveSystem !== 'undefined' && SaveSystem.save) { SaveSystem.save(); alert("Игра сохранена!"); } else { // Простое сохранение через localStorage var saveData = { energy: State.variables.energy, day: State.variables.day, time: State.variables.time, chars: State.variables.chars, characterLocations: State.variables.characterLocations, controlledCharacter: State.variables.controlledCharacter, timestamp: new Date().toISOString() }; localStorage.setItem('ghostRevengeSave', JSON.stringify(saveData)); alert("Игра сохранена локально!"); } } catch (error) { console.error("Ошибка сохранения:", error); alert("Ошибка сохранения: " + error.message); } }; window.loadGame = function() { try { if (typeof SaveSystem !== 'undefined' && SaveSystem.load) { SaveSystem.load(); } else { var saved = localStorage.getItem('ghostRevengeSave'); if (saved) { var saveData = JSON.parse(saved); // Восстанавливаем данные State.variables.energy = saveData.energy || 3; State.variables.day = saveData.day || 1; State.variables.time = saveData.time || 1; State.variables.chars = saveData.chars || State.variables.chars; State.variables.characterLocations = saveData.characterLocations || State.variables.characterLocations; State.variables.controlledCharacter = saveData.controlledCharacter || null; alert("Игра загружена!\nСохранено: " + (new Date(saveData.timestamp)).toLocaleString()); updateAllUI(); } else { alert("Нет сохранённых игр!"); } } } catch (error) { console.error("Ошибка загрузки:", error); alert("Ошибка загрузки: " + error.message); } }; window.reportBug = function() { var bugReport = prompt("Опишите баг или проблему:"); if (bugReport) { // Можно добавить отправку на сервер или сохранение в localStorage var reports = JSON.parse(localStorage.getItem('bugReports') || '[]'); reports.push({ text: bugReport, timestamp: new Date().toISOString(), page: SugarCube.Engine.activePassage.name, state: { energy: State.variables.energy, day: State.variables.day, time: State.variables.time } }); localStorage.setItem('bugReports', JSON.stringify(reports)); alert("Спасибо! Баг-репорт сохранён."); } }; window.restartGame = function() { if (confirm("Начать игру заново? Весь прогресс будет потерян.")) { if (typeof SugarCube.Engine.restart === 'function') { SugarCube.Engine.restart(); } else { window.location.reload(); } } }; // Быстрые клавиши $(document).on('keydown', function(e) { // Ctrl+S - сохранить if (e.ctrlKey && e.key === 's') { e.preventDefault(); window.saveGame(); } // Ctrl+L - загрузить if (e.ctrlKey && e.key === 'l') { e.preventDefault(); window.loadGame(); } // Ctrl+R - рестарт if (e.ctrlKey && e.key === 'r') { e.preventDefault(); window.restartGame(); } }); // ===== СИСТЕМА ОБНАРУЖЕНИЯ ===== window.checkDetection = function(actor, target, location) { try { var v = State.variables; // Базовый шанс обнаружения: 30% var detectionChance = 30; // Модификаторы: // - Чем выше коррупция цели, тем ниже шанс обнаружения if (v.chars[target] && v.chars[target].corruption > 0) { detectionChance -= v.chars[target].corruption * 0.5; // -0.5% за каждую единицу коррупции } // - В публичных местах шанс выше var publicPlaces = ["Hall", "Kitchen", "LivingRoom"]; if (publicPlaces.includes(location)) { detectionChance += 10; } // Гарантируем разумные границы detectionChance = Math.max(5, Math.min(90, detectionChance)); // Бросок кубика var roll = Math.random() * 100; var detected = roll < detectionChance; console.log("Проверка обнаружения: " + actor + " -> " + target + " в " + location + ", шанс: " + detectionChance.toFixed(1) + "%, результат: " + (detected ? "ОБНАРУЖЕНО" : "НЕТ")); if (detected) { // Последствия обнаружения var penalty = -10; // -10 к отношениям // Уменьшаем отношения между обнаруженными персонажами if (v.chars[actor] && v.chars[actor].relations[target]) { v.chars[actor].relations[target] += penalty; } if (v.chars[target] && v.chars[target].relations[actor]) { v.chars[target].relations[actor] += penalty; } // Создаём событие обнаружения v.lastDetection = { actor: actor, target: target, location: location, time: v.time, day: v.day }; } return detected; } catch (error) { console.error("Ошибка в checkDetection:", error); return false; } };
:: DaughterFatherBathroomChoice <div id="main-text">\ <h2 class="room-title">Father in the Bathroom</h2>\ <p>You enter the bathroom. Your father is taking a shower, steam obscures his figure behind frosted glass. What will you do?</p>\ <div class="player-choice">\ <div class="choice-title">Choose your level of interaction:</div>\ <<if window.canSpendEnergy(1)>>\ <<link "🛁 Level 1: Enter under a pretext (1⚡)">>\ <<run window.spendEnergy(1)>>\ <<run window.nextTime()>>\ <<goto "DaughterFatherBathroomLvl1">>\ <</link>>\ <<else>>\ <span class="locked">🛁 Level 1: Enter under a pretext (1⚡) — Not enough energy</span>\ <</if>>\ <<if $chars.daughter.corruption >= 25 and $chars.father.relations.daughter >= 30>>\ <<if window.canSpendEnergy(2)>>\ <<link "💋 Level 2: Seduction attempt (2⚡)">>\ <<run window.spendEnergy(2)>>\ <<run window.nextTime()>>\ <<goto "DaughterFatherBathroomLvl2">>\ <</link>>\ <<else>>\ <span class="locked">💋 Level 2: Seduction attempt (2⚡) — Not enough energy</span>\ <</if>>\ <<else>>\ <div class="locked">🔒 Level 2 Requires: Daughter Corruption ≥ 25, Father Relations ≥ 30</div>\ <</if>>\ <<if $chars.daughter.corruption >= 40 and $chars.father.corruption >= 25 and $chars.father.relations.daughter >= 45>>\ <<if window.canSpendEnergy(3)>>\ <<link "💦 Level 3: Advanced intimacy (3⚡)">>\ <<run window.spendEnergy(3)>>\ <<run window.nextTime()>>\ <<goto "DaughterFatherBathroomLvl3">>\ <</link>>\ <<else>>\ <span class="locked">💦 Level 3: Advanced intimacy (3⚡) — Not enough energy</span>\ <</if>>\ <<else>>\ <div class="locked">🔒 Level 3 Requires: Daughter Corruption ≥ 40, Father Corruption ≥ 25, Father Relations ≥ 45</div>\ <</if>>\ <<link "⬅️ Return to the Bathroom">><<goto "Bathroom">><</link>>\ </div>\ </div>
<div id="main-text">\ <h2 class="room-title">Enter Under a Pretext</h2>\ <p>You say, "Dad, I forgot my toothbrush!" and enter the bathroom. Your father is behind the frosted shower glass.</p>\ <<if not $choiceMadeBathFatherLvl1>>\ <div class="player-choice">\ <div class="choice-title">Your actions:</div>\ <<link "🪥 Brush teeth">>\ <<set $choiceMadeBathFatherLvl1 = "search">>\ <<goto "DaughterFatherBathroomLvl1">>\ <</link>>\ <<link "👀 Spy on Dad">>\ <<set $choiceMadeBathFatherLvl1 = "talk">>\ <<goto "DaughterFatherBathroomLvl1">>\ <</link>>\ <<link "🚪 Quickly grab the toothbrush and leave">>\ <<set $choiceMadeBathFatherLvl1 = "leave">>\ <<goto "DaughterFatherBathroomLvl1">>\ <</link>>\ </div>\ <<else>>\ <<if $choiceMadeBathFatherLvl1 == "search">>\ <div class="animation-box">\ <<set _rand to random(1, 2)>>\ <<set _path to "img/daughter/bathroom/brushteeth" + _rand + ".gif">>\ <<print '<img src="' + _path + '" class="animation-content">'>>\ </div>\ <div class="success-result">\ <p>You brush your teeth while maintaining playful eye contact through the glass.</p>\ <p style="color:#85e885; font-weight:bold;">📈 Stats: +2 Father Relations, +1 Daughter Corruption</p>\ <<set $chars.father.relations.daughter += 2>>\ <<set $chars.daughter.corruption += 1>>\ </div>\ \ <<elseif $choiceMadeBathFatherLvl1 == "talk">>\ <div class="animation-box">\ <img src="img/daughter/bathroom/watching.gif" class="animation-content">\ </div>\ <<if $chars.father.relations.daughter >= 10>>\ <div class="success-result">\ <p>"Dad, how’s work?" you ask. He answers calmly while showering.</p>\ <p style="color:#85e885; font-weight:bold;">📈 Stats: +2 Father Relations, +1 Daughter Corruption</p>\ <<set $chars.father.relations.daughter += 2>>\ <<set $chars.daughter.corruption += 1>>\ </div>\ <<else>>\ <div class="fail-result">\ <p>"Uh… daughter, maybe you should leave? I’m almost done," he says defensively.</p>\ <p style="color:#ff4444; font-weight:bold;">📉 Stats: -1 Father Relations</p>\ <<set $chars.father.relations.daughter -= 1>>\ </div>\ <</if>>\ \ <<else>>\ <div class="neutral-result">\ <p>You quickly grab the toothbrush and leave. "Got it!" you call, closing the door.</p>\ <p style="color:#85e885; font-weight:bold;">📈 Stats: +1 Father Relations</p>\ <<set $chars.father.relations.daughter += 1>>\ </div>\ <</if>>\ \ <<set _detected = window.checkDetection("daughter", "father", "Bathroom")>>\ <<if _detected>>\ <div class="detected-warning">\ <p>⚠️ <strong>DETECTED!</strong> Your father suspects something unusual!</p>\ <p style="color:#ff4444; font-weight:bold;">📉 Stats: -3 Father Relations</p>\ <<set $chars.father.relations.daughter -= 3>>\ </div>\ <</if>>\ \ <<link "Continue">>\ <<set $choiceMadeBathFatherLvl1 = false>>\ <<run window.spendEnergy(0)>>\ <<run window.nextTime()>>\ <<run updateAllUI()>>\ <<goto "Bathroom">>\ <</link>>\ <</if>>\ </div>
<div id="main-text">\ <h2 class="room-title">Seduction Attempt</h2>\ <p>You step closer, the steam and your father's naked body behind the glass making the air thick with tension.</p>\ <<if $chars.daughter.corruption < 25 or $chars.father.relations.daughter < 30>>\ <div class="locked">⚠️ You don't have enough corruption or relationship to proceed here.</div>\ <<link "← Back">>\ <<run window.spendEnergy(0)>>\ <<goto "DaughterFatherBathroomChoice">>\ <</link>>\ <<else>>\ <<if not $choiceMadeBathFatherLvl2>>\ <div class="player-choice">\ <div class="choice-title">What to do?</div>\ <<link "💋 'Accidentally' drop a towel">>\ <<set $choiceMadeBathFatherLvl2 = "seduce">>\ <<goto "DaughterFatherBathroomLvl2">>\ <</link>>\ <<link "😊 Flirt in the bathroom">>\ <<set $choiceMadeBathFatherLvl2 = "innocent">>\ <<goto "DaughterFatherBathroomLvl2">>\ <</link>>\ <<link "👀 Start washing without looking at your father">>\ <<set $choiceMadeBathFatherLvl2 = "open">>\ <<goto "DaughterFatherBathroomLvl2">>\ <</link>>\ </div>\ <<else>>\ <<if $choiceMadeBathFatherLvl2 == "seduce">>\ <div class="animation-box">\ <<set _rand to random(3, 4)>>\ <<set _path to "img/daughter/bathroom/seduce" + _rand + ".gif">>\ <<print '<img src="' + _path + '" class="animation-content">'>>\ </div>\ <div class="success-result">\ <p>"Okay, I'll turn away..." he murmurs, but his gaze lingers on your body.</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 +2 Father Relations, +1 Father Corruption</p>\ <<set $chars.father.relations.daughter += 2>>\ <<set $chars.father.corruption += 1>>\ </div>\ \ <<elseif $choiceMadeBathFatherLvl2 == "innocent">>\ <div class="animation-box">\ <<set _rand to random(1, 2)>>\ <<set _path to "img/daughter/bathroom/seduce" + _rand + ".gif">>\ <<print '<img src="' + _path + '" class="animation-content">'>>\ </div>\ <<if $chars.father.relations.daughter >= 35>>\ <div class="success-result">\ <p>"Ooh, you're so grown up, baby..." he sighs, unable to look away.</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 +2 Father Relations, +1 Father Corruption</p>\ <<set $chars.father.relations.daughter += 2>>\ <<set $chars.father.corruption += 1>>\ </div>\ <<else>>\ <div class="fail-result">\ <p>"My god!! Please, get out of here right now!"</p>\ <p style="color:#ff4444; font-weight:bold;">📉 -3 Father Relations</p>\ <<set $chars.father.relations.daughter -= 3>>\ </div>\ <</if>>\ \ <<else>>\ <div class="animation-box">\ <img src="img/daughter/bathroom/wash.gif" class="animation-content">\ </div>\ <<if $chars.daughter.corruption >= 30>>\ <div class="success-result">\ <p>You can clearly see that dad is watching you intently through the steam.</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 +2 Father Relations, +1 Father Corruption</p>\ <<set $chars.father.relations.daughter += 2>>\ <<set $chars.father.corruption += 1>>\ </div>\ <<else>>\ <div class="fail-result">\ <p>"What the hell? Get out!"</p>\ <p style="color:#ff4444; font-weight:bold;">📉 -5 Father Relations</p>\ <<set $chars.father.relations.daughter -= 5>>\ </div>\ <</if>>\ <</if>>\ \ <<set _detected = window.checkDetection("daughter", "father", "Bathroom")>>\ <<if _detected>>\ <div class="detected-warning">\ <p>⚠️ <strong>Warning:</strong> Father is starting to realize your true intentions.</p>\ <p style="color:#ff4444; font-weight:bold;">📉 -8 Father Relations</p>\ <<set $chars.father.relations.daughter -= 8>>\ </div>\ <</if>>\ \ <<link "Continue">>\ <<set $choiceMadeBathFatherLvl2 = false>>\ <<run window.spendEnergy(0)>>\ <<run window.nextTime()>>\ <<run updateAllUI()>>\ <<goto "Bathroom">>\ <</link>>\ <</if>>\ <</if>>\ </div>
<div id="main-text">\ <h2 class="room-title">"Personal help"</h2>\ <p>You step closer. Your father is half-naked and highly vulnerable to your influence.</p>\ <<if $chars.daughter.corruption < 40 or $chars.father.corruption < 25 or $chars.father.relations.daughter < 45>>\ <div class="locked">⚠️ You don't meet the required corruption and relationship level.</div>\ <<link "← Back">>\ <<run window.spendEnergy(0)>>\ <<goto "DaughterFatherBathroomChoice">>\ <</link>>\ <<else>>\ <<if not $choiceMadeBathFatherLvl3>>\ <div class="player-choice">\ <div class="choice-title">Your step:</div>\ <<link "Do you wanna see? I'm a bit stressed">>\ <<set $choiceMadeBathFatherLvl3 = "dry">>\ <<goto "DaughterFatherBathroomLvl3">>\ <</link>>\ <<link "💦 I like things in my mouth">>\ <<set $choiceMadeBathFatherLvl3 = "press">>\ <<goto "DaughterFatherBathroomLvl3">>\ <</link>>\ <<link "👄 Maybe have fun?">>\ <<set $choiceMadeBathFatherLvl3 = "kiss">>\ <<goto "DaughterFatherBathroomLvl3">>\ <</link>>\ <<link "⚠️ Retreat (Too risky)">>\ <<set $choiceMadeBathFatherLvl3 = "retreat">>\ <<goto "DaughterFatherBathroomLvl3">>\ <</link>>\ </div>\ <<else>>\ <<if $choiceMadeBathFatherLvl3 == "dry">>\ <div class="animation-box">\ <img src="img/daughter/bathroom/mast.gif" class="animation-content">\ </div>\ <<if $chars.father.relations.daughter >= 50>>\ <div class="success-result">\ <p>Father watches with pure fascination. He is thoroughly enjoying the view.</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 +3 Relations, +2 Daughter Corruption, +2 Father Corruption</p>\ <<set $chars.father.relations.daughter += 3>>\ <<set $chars.daughter.corruption += 2>>\ <<set $chars.father.corruption += 2>>\ </div>\ <<else>>\ <div class="success-result">\ <p>He sighs, leaning his head back. "Yes... I can't deny that I like what I see."</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 +3 Relations, +2 Daughter Corruption, +2 Father Corruption</p>\ <<set $chars.father.relations.daughter += 3>>\ <<set $chars.daughter.corruption += 2>>\ <<set $chars.father.corruption += 2>>\ </div>\ <</if>>\ \ <<elseif $choiceMadeBathFatherLvl3 == "press">>\ <div class="animation-box">\ <<set _rand to random(1, 2)>>\ <<set _path to "img/daughter/bathroom/bj" + _rand + ".gif">>\ <<print '<img src="' + _path + '" class="animation-content">'>>\ </div>\ <div class="success-result">\ <p>He runs his fingers through your hair. The taboo boundary is shattered.</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 +3 Relations, +2 Daughter Corruption, +2 Father Corruption</p>\ <<set $chars.father.relations.daughter += 3>>\ <<set $chars.daughter.corruption += 2>>\ <<set $chars.father.corruption += 2>>\ </div>\ \ <<elseif $choiceMadeBathFatherLvl3 == "kiss">>\ <div class="animation-box">\ <<set _rand to random(1, 2)>>\ <<set _path to "img/daughter/bathroom/sex" + _rand + ".gif">>\ <<print '<img src="' + _path + '" class="animation-content">'>>\ </div>\ <<if $chars.father.relations.daughter >= 55>>\ <div class="success-result">\ <p>Dad and you are completely locked in mutual passion. Steam hides everything.</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 +3 Relations, +2 Daughter Corruption, +2 Father Corruption</p>\ <<set $chars.father.relations.daughter += 3>>\ <<set $chars.daughter.corruption += 2>>\ <<set $chars.father.corruption += 2>>\ </div>\ <<else>>\ <div class="fail-result">\ <p>He suddenly pushes you away. "What the hell are you doing?! Get out!"</p>\ <p style="color:#ff4444; font-weight:bold;">📉 -15 Father Relations</p>\ <<set $chars.father.relations.daughter -= 15>>\ </div>\ <</if>>\ \ <<else>>\ <div class="neutral-result">\ <p>You decide to retreat. Your father stays behind, breathing heavily.</p>\ <p style="color:#85e885; font-weight:bold;">📈 +3 Father Relations</p>\ <<set $chars.father.relations.daughter += 3>>\ </div>\ <</if>>\ \ <<set _detected = window.checkDetection("daughter", "father", "Bathroom")>>\ <<if _detected>>\ <div class="detected-warning">\ <p>⚠️ <strong>Critical Exposure:</strong> Someone else in the house noticed what you were doing!</p>\ <p style="color:#ff4444; font-weight:bold;">📉 -20 Father Relations, -10 Father Corruption</p>\ <<set $chars.father.relations.daughter -= 20>>\ <<set $chars.father.corruption -= 10>>\ </div>\ <</if>>\ \ <<link "Continue">>\ <<set $choiceMadeBathFatherLvl3 = false>>\ <<run window.spendEnergy(0)>>\ <<run window.nextTime()>>\ <<run updateAllUI()>>\ <<goto "Bathroom">>\ <</link>>\ <</if>>\ <</if>>\ </div>
WIP [[Hall]]
<div id="main-content"> <div id="main-text"> <h2>You're with your husband in the bedroom.</h2> <p>Honey, Could i come in?</p> <<if not $choiceMadeDaughterBedroomFatherLvl1>> <div class="player-choice"> <div class="choice-title">Your actions:</div> <div class="player-choice inline-links"> <<link "Talk">> <<set $choiceMadeDaughterBedroomFatherLvl1 = "help1">> <<goto "MomToDaughterKitchenLvl1">> <</link>> <<link "Take a towel">> <<set $choiceMadeDaughterBedroomFatherLvl1 = "help2">> <<goto "MomToDaughterKitchenLvl1">> <</link>> <<link "Watch">> <<set $choiceMadeDaughterBedroomFatherLvl1 = "help3">> <<goto "MomToDaughterKitchenLvl1">> <</link>> <<link "Finish your deals and go">> <<set $choiceMadeDaughterBedroomFatherLvl1 = "leave">> <<goto "Hall">> <</link>> </div> </div> <<else>> <<if $choiceMadeDaughterBedroomFatherLvl1 == "help1">> <div class="success-result"> <p>Just a small talk</p> <div class="media-placeholder"> <<print '<img src="img/father/bathroom/help' + random(1, 2) + '.gif" width="500">'>> </div> <<set $chars.mother.relations.daughter += 2>> <<set $chars.daughter.corruption += 1>> </div> <<elseif $choiceMadeDaughterBedroomFatherLvl1 == "help2">> <<if $chars.mother.relations.daughter >= 5>> <div class="success-result"> <p>I bring a pillow for you, honey</p> <div class="media-placeholder"> <img src="img/father/bathroom/help3.gif" width="500"> </div> <<set $chars.mother.relations.daughter += 2>> <<set $chars.daughter.corruption += 1>> </div> <<else>> <div class="fail-result"> <p>"It's strange, mom, why are you looking at me like that??" - Need to rise our relationships</p> <<set $chars.mother.relations.daughter -= 1>> </div> <</if>> <<elseif $choiceMadeDaughterBedroomFatherLvl1 == "help3">> <<if $chars.mother.relations.daughter >= 10>> <div class="success-result"> <p>You just starring on her</p> <div class="media-placeholder"> <<print '<img src="img/father/bathroom/help' + random(4, 5) + '.gif" width="500">'>> </div> <<set $chars.mother.relations.daughter += 2>> <<set $chars.daughter.corruption += 1>> <<set $chars.mother.corruption += 1>> </div> <<else>> <div class="fail-result"> <p>"It's strange, mom, what are u doing??" - Need to rise our relationships</p> <<set $chars.mother.relations.daughter -= 1>> </div> <</if>> <<elseif $choiceMadeDaughterBedroomFatherLvl1 == "leave">> <div class="neutral-result"> <p>Just leave her alone</p> <<set $chars.mother.relations.daughter += 1>> </div> <</if>> <div class="continue-button"> <<link "Continue">> <<set $choiceMadeDaughterBedroomFatherLvl1 = false>> <<run window.nextTime()>> <<goto "Bathroom">> <</link>> </div> <</if>> </div> </div>
<div id="main-content"> <div id="main-text"> <h2>May be I should try to push her futher?</h2> <p>Just try, what could happen?</p> <<if not $choiceMadeDaughterBedroomFatherLvl1>> <div class="player-choice"> <div class="choice-title">Your actions:</div> <div class="player-choice inline-links"> <<link "Spy on your daughter">> <<set $choiceMadeDaughterBedroomFatherLvl1 = "help1">> <<goto "MomToDaughterKitchenLvl2">> <</link>> <<link "Harras her">> <<set $choiceMadeDaughterBedroomFatherLvl1 = "help2">> <<goto "MomToDaughterKitchenLvl2">> <</link>> <<link "Kiss">> <<set $choiceMadeDaughterBedroomFatherLvl1 = "help3">> <<goto "MomToDaughterKitchenLvl2">> <</link>> <<link "Finish your deals and go">> <<set $choiceMadeDaughterBedroomFatherLvl1 = "leave">> <<goto "Hall">> <</link>> </div> </div> <<else>> <<if $choiceMadeDaughterBedroomFatherLvl1 == "help1">> <div class="success-result"> <p>She's notice you, but continue her deals</p> <div class="media-placeholder"> <<print '<img src="img/father/bathroom/help' + random(1, 2) + '.gif" width="500">'>> </div> <<set $chars.mother.relations.daughter += 2>> <<set $chars.daughter.corruption += 1>> <<set $chars.mother.corruption += 2>> </div> <<elseif $choiceMadeDaughterBedroomFatherLvl1 == "help2">> <<if $chars.father.corruption >= 40 && $chars.father.relations.mother >= 45>> <div class="success-result"> <p>"You have a nice skin" - you touch her </p> <div class="media-placeholder"> <img src="img/father/bathroom/help3.gif" width="500"> </div> <<set $chars.mother.relations.daughter += 2>> <<set $chars.daughter.corruption += 1>> <<set $chars.mother.corruption += 2>> </div> <<else>> <div class="fail-result"> <p>"It's strange, mom, what are u doing??" - Need to rise our relationships and corruption (Father corr = 40 or more, Relat = 45 or more)</p> <<set $chars.mother.relations.daughter -= 1>> </div> <</if>> <<elseif $choiceMadeDaughterBedroomFatherLvl1 == "help3">> <<if $chars.father.corruption >= 45 && $chars.father.relations.mother >= 50>> <div class="success-result"> <p>You lips touch her lips. Amazing feelings</p> <div class="media-placeholder"> <<print '<img src="img/father/bathroom/help' + random(4, 5) + '.gif" width="500">'>> </div> <<set $chars.mother.relations.daughter += 2>> <<set $chars.daughter.corruption += 1>> <<set $chars.mother.corruption += 2>> </div> <<else>> <div class="fail-result"> <p>"It's strange, mom, what are u doing??" - Need to rise our relationships and corruption(Father corr = 45 or more, Relat = 50 or more)</p> <<set $chars.mother.relations.daughter -= 1>> </div> <</if>> <<elseif $choiceMadeDaughterBedroomFatherLvl1 == "leave">> <div class="neutral-result"> <p>Just leave her alone</p> <<set $chars.mother.relations.daughter += 1>> </div> <</if>> <div class="continue-button"> <<link "Continue">> <<set $choiceMadeDaughterBedroomFatherLvl1 = false>> <<run window.nextTime()>> <<goto "Bathroom">> <</link>> </div> <</if>> </div> </div>
WIP [[Hall]]
:: FatherStudyInteraction <div id="main-text">\ <h2 class="room-title">Father's Office</h2>\ <p>You are inside the office with your father. The atmosphere is quiet, and the door is closed.</p>\ <<if $controlledCharacter neq "daughter">>\ <div class="locked">⚠️ Only the daughter can initiate direct interactions here.</div>\ <<link "← Back">><<goto "FathersStudy">><</link>>\ <<else>>\ <h3>Your actions with your father:</h3>\ <div class="player-choice">\ <<if window.canSpendEnergy(1)>>\ <<link "💬 Talk (1⚡)">>\ <<run window.spendEnergy(1)>>\ <<run window.nextTime()>>\ <<set $chars.father.relations.daughter += 2>>\ <<goto "FatherStudyTalkResult">>\ <</link>>\ <<else>>\ <span class="locked">💬 Talk (1⚡) — Not enough energy</span>\ <</if>>\ <<if window.canSpendEnergy(1)>>\ <<link "☕ Offer to help (1⚡)">>\ <<run window.spendEnergy(1)>>\ <<run window.nextTime()>>\ <<set $chars.father.relations.daughter += 10>>\ <<set $chars.daughter.corruption += 2>>\ <<goto "FatherStudyHelpResult">>\ <</link>>\ <<else>>\ <span class="locked">☕ Offer to help (1⚡) — Not enough energy</span>\ <</if>>\ <<if $chars.daughter.corruption >= 15 and $chars.father.relations.daughter >= 30>>\ <<if window.canSpendEnergy(2)>>\ <<link "💋 BJ (2⚡)">>\ <<run window.spendEnergy(2)>>\ <<run window.nextTime()>>\ <<set $chars.daughter.corruption += 5>>\ <<set $chars.father.corruption += 3>>\ <<goto "FatherStudyBJResult">>\ <</link>>\ <<else>>\ <span class="locked">💋 BJ (2⚡) — Not enough energy</span>\ <</if>>\ <<else>>\ <div class="locked">🔒 BJ Requires: Daughter Corruption ≥ 15, Father Relations ≥ 30</div>\ <</if>>\ <<if $chars.daughter.corruption >= 50 and $chars.father.corruption >= 25 and $chars.father.relations.daughter >= 40>>\ <<if window.canSpendEnergy(2)>>\ <<link "😈 Deepthroat (2⚡)">>\ <<run window.spendEnergy(2)>>\ <<run window.nextTime()>>\ <<set $chars.daughter.corruption += 8>>\ <<set $chars.father.corruption += 6>>\ <<goto "FatherStudyDeepthroatResult">>\ <</link>>\ <<else>>\ <span class="locked">😈 Deepthroat (3⚡) — Not enough energy</span>\ <</if>>\ <<else>>\ <div class="locked">🔒 Deepthroat Requires: Daughter Corruption ≥ 50, Father Corruption ≥ 25, Father Relations ≥ 40</div>\ <</if>>\ </div>\ <hr>\ <<link "← Back to Office">><<goto "FathersStudy">><</link>>\ <</if>>\ </div>
// ===== ФУНКЦИЯ ОБНОВЛЕНИЯ ВСЕГО UI ===== window.updateAllUI = function() { try { var v = State.variables; if (!v) { console.warn("State.variables не определен"); return; } v.energy = v.energy || 0; v.day = v.day || 1; v.time = v.time || 1; v.maxEnergy = v.maxEnergy || 10; if (!v.timeNames) { v.timeNames = ["", "Morning", "Day", "Evening", "Night"]; } if (!v.chars) { v.chars = { daughter: { name: "Daughter", corruption: 0, relations: { father: 0, mother: 0 } }, father: { name: "Father", corruption: 0, relations: { daughter: 0, mother: 0 } }, mother: { name: "Mother", corruption: 0, relations: { daughter: 0, father: 0 } } }; } // КОНТРОЛЬ ПЕРСОНАЖА if ($("#ui-controlled").length) { if (v.energy > 0 && v.controlledCharacter && v.chars && v.chars[v.controlledCharacter]) { var charName = v.chars[v.controlledCharacter].name; $("#ui-controlled").text("Control: " + charName) .css("color", "#4CAF50"); } else { $("#ui-controlled").text("Control: none") .css("color", "#888"); } } // Энергия if ($("#ui-energy").length) { $("#ui-energy").text(v.energy); } // День и время if ($("#ui-day").length) { $("#ui-day").text(v.day); } if ($("#ui-time").length) { var timeText = "Morning"; if (v.timeNames && v.timeNames[v.time]) { timeText = v.timeNames[v.time]; } $("#ui-time").text(timeText); } // День недели if ($("#ui-weekday").length) { var weekdayText = "Monday"; if (v.dayNames && v.dayNames[v.weekDay]) { weekdayText = v.dayNames[v.weekDay]; } $("#ui-weekday").text(weekdayText); } // Дочь if ($("#ui-daughter-corruption").length) { if (v.chars && v.chars.daughter) { $("#ui-daughter-corruption").text(v.chars.daughter.corruption || 0); $("#ui-daughter-father").text(v.chars.daughter.relations.father || 0); $("#ui-daughter-mother").text(v.chars.daughter.relations.mother || 0); } } // Отец if ($("#ui-father-corruption").length) { if (v.chars && v.chars.father) { $("#ui-father-corruption").text(v.chars.father.corruption || 0); $("#ui-father-daughter").text(v.chars.father.relations.daughter || 0); $("#ui-father-mother").text(v.chars.father.relations.mother || 0); } } // Мать if ($("#ui-mother-corruption").length) { if (v.chars && v.chars.mother) { $("#ui-mother-corruption").text(v.chars.mother.corruption || 0); $("#ui-mother-daughter").text(v.chars.mother.relations.daughter || 0); $("#ui-mother-father").text(v.chars.mother.relations.father || 0); } } // ОБНОВЛЯЕМ КНОПКИ КОНТРОЛЯ В САЙДБАРЕ if (typeof updateSidebarControls === 'function') { updateSidebarControls(); } } catch (error) { console.error("Ошибка в updateAllUI:", error); } }; // ===== Перемещение персонажей ===== window.updateCharacterPositions = function() { try { var v = State.variables; if (!v) return; if (!v.schedules) { // Старая логика v.characterLocations.daughter = "DaughterRoom"; v.characterLocations.father = "ParentsRoom"; v.characterLocations.mother = "Kitchen"; return; } var weekDay = (v.day % 7) || 7; var isWeekend = (weekDay >= 6); ["daughter", "father", "mother"].forEach(function(charId) { if (v.controlledCharacter !== charId) { var scheduleType = isWeekend ? "weekend" : "weekday"; var plannedRoom = v.schedules[charId][scheduleType][v.time]; var actualRoom = plannedRoom; if (!window.isRoomAvailable(plannedRoom)) { // ЛОГИКА ЗАМЕНЫ НЕДОСТУПНЫХ КОМНАТ: if (plannedRoom === "Bathroom") { actualRoom = isWeekend ? "DaughterRoom" : "Kitchen"; } else if (plannedRoom === "FathersStudy") { actualRoom = "ParentsRoom"; } else if (plannedRoom === "Garage") { actualRoom = isWeekend ? "ParentsRoom" : "ParentsRoom"; } else if (plannedRoom === "Attic") { actualRoom = "DaughterRoom"; } else if (plannedRoom === "LivingRoom" && v.day < 7) { actualRoom = "Hall"; } else { actualRoom = charId === "daughter" ? "DaughterRoom" : charId === "father" ? "ParentsRoom" : "Kitchen"; } if (!window.isRoomAvailable(actualRoom)) { actualRoom = "Hall"; } } v.characterLocations[charId] = actualRoom; } }); } catch (error) { console.error("Ошибка в updateCharacterPositions:", error); } }; // ===== ВЗЯТИЕ КОНТРОЛЯ ===== window.takeControl = function(character) { try { var v = State.variables; if (v.energy < 1) { console.log("Not enough energy"); return false; } v.hasDaughter = false; v.hasFather = false; v.hasMother = false; switch(character) { case "daughter": v.hasDaughter = true; break; case "father": v.hasFather = true; break; case "mother": v.hasMother = true; break; } v.controlledCharacter = character; v.energy -= 1; var currentRoom = SugarCube.Engine.activePassage.name; v.characterLocations[character] = currentRoom; console.log("Control taken: " + character + " in room: " + currentRoom); updateAllUI(); return true; } catch (error) { console.error("Ошибка в takeControl:", error); return false; } }; // ===== БЫСТРЫЙ КОНТРОЛЬ ИЗ САЙДБАРА ===== window.takeControlFromSidebar = function(character) { try { var v = State.variables; if (v.energy < 1) { alert("Not enough energy to take control!"); return false; } if (v.controlledCharacter === character) { v.controlledCharacter = null; v.hasDaughter = false; v.hasFather = false; v.hasMother = false; console.log("Control released: " + character); window.updateAllUI(); return true; } var success = window.takeControl(character); if (success) { window.updateAllUI(); setTimeout(function() { var mainText = document.getElementById('main-text'); if (mainText) { var msg = document.createElement('div'); msg.className = 'control-notification'; var charName = v.chars[character] ? v.chars[character].name : character; var roomName = v.rooms[SugarCube.Engine.activePassage.name] || SugarCube.Engine.activePassage.name; msg.innerHTML = '👻 <b>Control taken over ' + charName + '</b> in ' + roomName; msg.style.cssText = 'background:#4CAF50;color:white;padding:10px;margin:10px 0;border-radius:5px;'; mainText.prepend(msg); setTimeout(function() { if (msg.parentNode) { msg.parentNode.removeChild(msg); } }, 3000); } }, 100); } return success; } catch (error) { console.error("Ошибка в takeControlFromSidebar:", error); return false; } }; // ===== ОБНОВЛЕНИЕ КНОПОК КОНТРОЛЯ В САЙДБАРЕ ===== window.updateSidebarControls = function() { try { var v = State.variables; if (!v) return; var chars = ["daughter", "father", "mother"]; var roomNames = v.rooms || {}; chars.forEach(function(charId) { var btn = $("#btn-" + charId); var status = $("#status-" + charId); var row = $("#control-row-" + charId); if (!btn.length || !status.length) return; var location = "?"; if (v.characterLocations && v.characterLocations[charId]) { var roomCode = v.characterLocations[charId]; location = roomNames[roomCode] || roomCode; } if (location.length > 12) { location = location.substring(0, 10) + ".."; } status.text("(" + location + ")"); if (v.controlledCharacter === charId) { btn.text("Out"); btn.css({ "background": "#d32f2f", "color": "white" }); btn.prop("title", "Release: " + getCharName(charId)); if (row.length) row.css("opacity", "1"); } else if (v.energy < 1) { btn.text("NO ⚡"); btn.css({ "background": "#666", "color": "#aaa" }); btn.prop("disabled", true); btn.prop("title", "Not enough energy"); if (row.length) row.css("opacity", "0.7"); } else { btn.text("IN"); btn.css({ "background": "#4CAF50", "color": "white" }); btn.prop("disabled", false); btn.prop("title", "Take control: " + getCharName(charId) + " (in " + location + ")"); if (row.length) row.css("opacity", "1"); } }); function getCharName(id) { if (v.chars && v.chars[id]) { return v.chars[id].name; } var names = { daughter: "Daughter", father: "Father", mother: "Mother" }; return names[id]; } } catch (error) { console.error("Ошибка в updateSidebarControls:", error); } }; // ===== ФУНКЦИЯ СМЕНЫ ВРЕМЕНИ ===== window.nextTime = function() { try { var v = State.variables; v.time += 1; if (v.time > 4) { v.time = 1; v.day += 1; v.weekDay = (v.weekDay % 7) + 1; } updateCharacterPositions(); updateAllUI(); } catch (error) { console.error("Ошибка в nextTime:", error); } }; // ===== СОЗДАНИЕ САЙДБАРА ===== $(document).on(':passagestart', function() { setTimeout(function() { try { var v = State.variables; if ($("#custom-sidebar").length === 0) { var energy = v.energy || 0; var maxEnergy = v.maxEnergy || 10; var day = v.day || 1; var time = v.time || 1; var controlledName = "none"; if (v.controlledCharacter && v.chars && v.chars[v.controlledCharacter]) { controlledName = v.chars[v.controlledCharacter].name; } var daughterCorruption = (v.chars && v.chars.daughter) ? v.chars.daughter.corruption : 0; var daughterFather = (v.chars && v.chars.daughter && v.chars.daughter.relations) ? v.chars.daughter.relations.father : 0; var daughterMother = (v.chars && v.chars.daughter && v.chars.daughter.relations) ? v.chars.daughter.relations.mother : 0; var fatherCorruption = (v.chars && v.chars.father) ? v.chars.father.corruption : 0; var fatherDaughter = (v.chars && v.chars.father && v.chars.father.relations) ? v.chars.father.relations.daughter : 0; var fatherMother = (v.chars && v.chars.father && v.chars.father.relations) ? v.chars.father.relations.mother : 0; var motherCorruption = (v.chars && v.chars.mother) ? v.chars.mother.corruption : 0; var motherDaughter = (v.chars && v.chars.mother && v.chars.mother.relations) ? v.chars.mother.relations.daughter : 0; var motherFather = (v.chars && v.chars.mother && v.chars.mother.relations) ? v.chars.mother.relations.father : 0; var timeText = "Morning"; if (v.timeNames && v.timeNames[time]) { timeText = v.timeNames[time]; } var weekdayText = "Monday"; if (v.dayNames && v.dayNames[v.weekDay]) { weekdayText = v.dayNames[v.weekDay]; } // HTML САЙДБАРА (английский) var sidebarHTML = '\ <div id="custom-sidebar">\ <h3>Ghost Chaos</h3>\ \ <!-- COMPACT CONTROL -->\ <div class="stat-block compact-control">\ <div class="stat-title">👻 QUICK CONTROL</div>\ <div class="compact-control-grid">\ <!-- DAUGHTER -->\ <div class="compact-char">\ <span class="compact-icon">👧</span>\ <button class="compact-btn free" id="btn-daughter" \ onclick="window.takeControlFromSidebar(\'daughter\')" \ title="Take/release: Daughter">\ D\ </button>\ <span class="compact-status" id="status-daughter">bedroom</span>\ </div>\ \ <!-- FATHER -->\ <div class="compact-char">\ <span class="compact-icon">👨</span>\ <button class="compact-btn free" id="btn-father" \ onclick="window.takeControlFromSidebar(\'father\')" \ title="Take/release: Father">\ F\ </button>\ <span class="compact-status" id="status-father">bathroom</span>\ </div>\ \ <!-- MOTHER -->\ <div class="compact-char">\ <span class="compact-icon">👩</span>\ <button class="compact-btn free" id="btn-mother" \ onclick="window.takeControlFromSidebar(\'mother\')" \ title="Take/release: Mother">\ M\ </button>\ <span class="compact-status" id="status-mother">kitchen</span>\ </div>\ </div>\ <div class="energy-hint">Control energy: 1</div>\ </div>\ \ <!-- STATISTICS -->\ <div class="stat-block">\ <div class="stat-title">📊 STATISTICS</div>\ <div>Energy: <b><span id="ui-energy">' + energy + '</span> / ' + maxEnergy + '</b></div>\ </div>\ \ <!-- CURRENT CONTROL -->\ <div class="stat-block">\ <div class="stat-title">👻 CURRENT CONTROL</div>\ <div id="ui-controlled">Control: ' + controlledName + '</div>\ </div>\ \ <!-- DAUGHTER -->\ <div class="stat-block">\ <div class="stat-title">👧 DAUGHTER</div>\ <div>Corruption: <span id="ui-daughter-corruption">' + daughterCorruption + '</span></div>\ <div>To father: <span id="ui-daughter-father">' + daughterFather + '</span></div>\ <div>To mother: <span id="ui-daughter-mother">' + daughterMother + '</span></div>\ </div>\ \ <!-- FATHER -->\ <div class="stat-block">\ <div class="stat-title">👨 FATHER</div>\ <div>Corruption: <span id="ui-father-corruption">' + fatherCorruption + '</span></div>\ <div>To daughter: <span id="ui-father-daughter">' + fatherDaughter + '</span></div>\ <div>To mother: <span id="ui-father-mother">' + fatherMother + '</span></div>\ </div>\ \ <!-- MOTHER -->\ <div class="stat-block">\ <div class="stat-title">👩 MOTHER</div>\ <div>Corruption: <span id="ui-mother-corruption">' + motherCorruption + '</span></div>\ <div>To daughter: <span id="ui-mother-daughter">' + motherDaughter + '</span></div>\ <div>To father: <span id="ui-mother-father">' + motherFather + '</span></div>\ </div>\ \ <!-- TIME -->\ <div class="stat-block">\ <div class="stat-title">⏰ TIME</div>\ <div>Day: <span id="ui-day">' + day + '</span></div>\ <div>Time: <span id="ui-time">' + timeText + '</span></div>\ <div>Weekday: <span id="ui-weekday">' + weekdayText + '</span></div>\ </div>\ \ <!-- UTILITIES -->\ <div class="stat-block">\ <div class="stat-title">⚙️ MANAGEMENT</div>\ <div class="utility-buttons">\ <button class="util-btn" onclick="window.saveGame()">\ <span class="util-btn-icon">💾</span> Save (Ctrl+S)\ </button>\ <button class="util-btn" onclick="window.loadGame()">\ <span class="util-btn-icon">📂</span> Load (Ctrl+L)\ </button>\ <button class="util-btn restart-btn" onclick="window.restartGame()">\ <span class="util-btn-icon">🔄</span> Restart (Ctrl+R)\ </button>\ </div>\ </div>\ </div>'; $("#story").prepend(sidebarHTML); $("#passages").css({ "margin-left": "300px", "width": "calc(100vw - 300px)" }); } updateAllUI(); } catch (error) { console.error("Ошибка при создании сайдбара:", error); } }, 50); }); // ===== ПРОВЕРКА ЭНЕРГИИ ===== window.canAct = function() { try { return State.variables.energy > 0; } catch (error) { console.error("Ошибка в canAct:", error); return false; } }; window.canSpendEnergy = function(amount) { try { var v = State.variables; return v.energy >= amount; } catch (error) { console.error("Ошибка в canSpendEnergy:", error); return false; } }; // ===== ТРАТА ЭНЕРГИИ ===== window.spendEnergy = function(amount) { try { var v = State.variables; if (v.energy < amount) { return false; } v.energy -= amount; if (v.energy > v.maxEnergy) v.energy = v.maxEnergy; return true; } catch (error) { console.error("Ошибка в spendEnergy:", error); return false; } }; // ===== ВОССТАНОВЛЕНИЕ ЭНЕРГИИ ===== window.restoreEnergy = function(amount) { try { var v = State.variables; v.energy += amount; if (v.energy > 10) v.energy = 10; updateAllUI(); } catch (error) { console.error("Ошибка в restoreEnergy:", error); } }; // ===== ОБРАБОТЧИК ПРИ СМЕНЕ ПАССАЖА ===== $(document).on(':passagestart', function () { try { var v = State.variables; if (v.energy <= 0) { v.choiceMadeFath = false; v.choiceMadeMom = false; if (SugarCube.Engine.activePassage.name === "UncurentFath" || SugarCube.Engine.activePassage.name === "UncurentMom" || SugarCube.Engine.activePassage.name === "DaughterRoom") { SugarCube.Engine.play("Hall"); } } } catch (error) { console.error("Ошибка в обработчике passagestart:", error); } }); // ===== ФУНКЦИЯ ПРОВЕРКИ КОНТРОЛЯ ===== window.isControlling = function(character) { try { var v = State.variables; return v.controlledCharacter === character; } catch (error) { console.error("Ошибка в isControlling:", error); return false; } }; // ===== УТИЛИТЫ ===== window.saveGame = function() { try { if (typeof Save !== 'undefined' && Save.slots && Save.slots.save) { Save.slots.save(0); } else { var saveData = { energy: State.variables.energy, day: State.variables.day, time: State.variables.time, chars: State.variables.chars, characterLocations: State.variables.characterLocations, controlledCharacter: State.variables.controlledCharacter, unlockedRooms: State.variables.unlockedRooms, timestamp: new Date().toISOString() }; localStorage.setItem('ghostRevengeSave', JSON.stringify(saveData)); alert("Game saved locally! (slot 0)"); } } catch (error) { console.error("Ошибка сохранения:", error); alert("Save error: " + error.message); } }; window.loadGame = function() { try { if (typeof Save !== 'undefined' && Save.slots && Save.slots.load) { Save.slots.load(0); } else { var saved = localStorage.getItem('ghostRevengeSave'); if (saved) { if (!confirm("Load saved game? Current progress will be lost.")) { return; } var saveData = JSON.parse(saved); State.variables.energy = saveData.energy || 3; State.variables.day = saveData.day || 1; State.variables.time = saveData.time || 1; State.variables.chars = saveData.chars || State.variables.chars; State.variables.characterLocations = saveData.characterLocations || State.variables.characterLocations; State.variables.controlledCharacter = saveData.controlledCharacter || null; State.variables.unlockedRooms = saveData.unlockedRooms || State.variables.unlockedRooms; alert("Game loaded from slot 0!\nSaved: " + (new Date(saveData.timestamp)).toLocaleString()); updateAllUI(); } else { alert("No saved games in slot 0!"); } } } catch (error) { console.error("Ошибка загрузки:", error); alert("Load error: " + error.message); } }; window.restartGame = function() { if (confirm("Start a new game? All progress will be lost.")) { if (typeof SugarCube.Engine.restart === 'function') { SugarCube.Engine.restart(); } else { window.location.reload(); } } }; // Быстрые клавиши $(document).on('keydown', function(e) { if (e.ctrlKey && e.key === 's') { e.preventDefault(); window.saveGame(); } if (e.ctrlKey && e.key === 'l') { e.preventDefault(); window.loadGame(); } if (e.ctrlKey && e.key === 'r') { e.preventDefault(); window.restartGame(); } }); // ===== СИСТЕМА ОБНАРУЖЕНИЯ ===== window.checkDetection = function(actor, target, location) { try { var v = State.variables; var detectionChance = 30; if (v.chars[target] && v.chars[target].corruption > 0) { detectionChance -= v.chars[target].corruption * 0.5; } var publicPlaces = ["Hall", "Kitchen", "LivingRoom"]; if (publicPlaces.includes(location)) { detectionChance += 10; } detectionChance = Math.max(5, Math.min(90, detectionChance)); var roll = Math.random() * 100; var detected = roll < detectionChance; console.log("Detection check: " + actor + " -> " + target + " in " + location + ", chance: " + detectionChance.toFixed(1) + "%, result: " + (detected ? "DETECTED" : "NOT DETECTED")); if (detected) { var penalty = -10; if (v.chars[actor] && v.chars[actor].relations[target]) { v.chars[actor].relations[target] += penalty; } if (v.chars[target] && v.chars[target].relations[actor]) { v.chars[target].relations[actor] += penalty; } v.lastDetection = { actor: actor, target: target, location: location, time: v.time, day: v.day }; } return detected; } catch (error) { console.error("Ошибка в checkDetection:", error); return false; } }; // ===== ДОБАВЛЯЕМ CSS ДЛЯ УВЕДОМЛЕНИЙ ===== $(document).on(':passagestart', function() { if (!$('#notification-styles').length) { var notificationCSS = '\ <style id="notification-styles">\ .control-notification {\ background: #4CAF50 !important;\ color: white !important;\ padding: 10px !important;\ margin: 10px 0 !important;\ border-radius: 5px !important;\ animation: fadeIn 0.5s, fadeOut 0.5s 2.5s forwards;\ }\ @keyframes fadeIn {\ from { opacity: 0; transform: translateY(-10px); }\ to { opacity: 1; transform: translateY(0); }\ }\ @keyframes fadeOut {\ from { opacity: 1; }\ to { opacity: 0; }\ }\ </style>'; $('head').append(notificationCSS); } }); // ===== МОБИЛЬНОЕ СВОРАЧИВАНИЕ САЙДБАРА ===== $(document).on(':passagestart', function() { setTimeout(function() { if ($("#mobile-toggle").length === 0 && $("#custom-sidebar").length > 0) { var toggleBtn = '<button id="mobile-toggle" class="mobile-toggle">☰</button>'; $("body").append(toggleBtn); $("#mobile-toggle").on("click", function() { $("#custom-sidebar").toggleClass("collapsed"); $(this).text($("#custom-sidebar").hasClass("collapsed") ? "☰" : "✕"); }); } if (window.innerWidth <= 768 && $("#custom-sidebar").length > 0) { $("#custom-sidebar").addClass("collapsed"); if ($("#mobile-toggle").length > 0) { $("#mobile-toggle").text("☰"); } } }, 200); }); // ===== ПРОВЕРКА ДОСТУПНОСТИ КОМНАТЫ ===== window.isRoomAvailable = function(roomCode) { var v = State.variables; var alwaysAvailable = ["Hall", "DaughterRoom", "ParentsRoom", "Kitchen"]; if (alwaysAvailable.includes(roomCode)) return true; if (v.unlockedRooms && v.unlockedRooms[roomCode]) { return true; } if (roomCode === "LivingRoom" && v.day >= 7) { return true; } return false; }; // ===== ПРОСТАЯ СИСТЕМА УВЕДОМЛЕНИЙ ===== window.showNotification = function(message, type = 'info') { var notification = document.createElement('div'); notification.style.cssText = 'position:fixed;top:20px;right:20px;background:#4CAF50;color:white;padding:15px;border-radius:5px;z-index:9999;max-width:300px;'; notification.innerHTML = message; document.body.appendChild(notification); setTimeout(function() { if (notification.parentNode) { notification.parentNode.removeChild(notification); } }, 3000); };
/* САЙДБАР */ #custom-sidebar { position: fixed; left: 0; top: 0; width: 280px; height: 100vh; background: #1a1a24; color: #fff; padding: 20px; overflow-y: auto; border-right: 2px solid #2a2a3a; z-index: 1000; box-sizing: border-box; } #custom-sidebar h3 { color: #f0c040; text-align: center; margin-bottom: 20px; border-bottom: 2px solid #333350; padding-bottom: 10px; } .stat-block { background: #222232; border: 1px solid #333350; border-radius: 8px; padding: 12px; margin-bottom: 15px; /* ← ИСПРАВЛЕНО! */ } /* МЕНЮ НАВИГАЦИИ В САЙДБАРЕ */ .sidebar-menu { background: #222232; border: 1px solid #333350; border-radius: 8px; padding: 10px 0; margin-bottom: 15px; } .sidebar-menu .stat-title { color: #f0c040; font-weight: bold; padding: 0 15px 10px 15px; border-bottom: 1px solid #333350; margin-bottom: 10px; font-size: 14px; } .sidebar-menu a { display: block; color: #e0e0ff; text-decoration: none; padding: 10px 15px; font-size: 14px; transition: all 0.2s; border-left: 3px solid transparent; } .sidebar-menu a:hover { background-color: #2a2a3a; border-left: 3px solid #f0c040; color: #ffffff; padding-left: 20px; } /* === КОМПАКТНЫЙ КОНТРОЛЬ === */ .compact-control { padding: 10px !important; } .compact-control-grid { display: flex; justify-content: space-between; gap: 8px; margin: 10px 0 5px 0; } .compact-char { display: flex; flex-direction: column; align-items: center; flex: 1; } .compact-icon { font-size: 1.5em; margin-bottom: 3px; opacity: 0.9; } .compact-btn { width: 36px; height: 36px; border-radius: 50%; border: 2px solid #444; background: #2a2a3a; color: #e0e0ff; font-weight: bold; font-size: 1em; cursor: pointer; transition: all 0.2s; display: flex; align-items: center; justify-content: center; padding: 0; } .compact-btn:hover { transform: scale(1.1); border-color: #f0c040; box-shadow: 0 0 10px rgba(240, 192, 64, 0.4); } .compact-btn:active { transform: scale(0.95); } /* СВОБОДЕН (можно взять контроль) */ .compact-btn.free { background: #2a2a3a; border-color: #4CAF50; color: #4CAF50; } .compact-btn.free:hover { background: #4CAF50; color: white; } /* ПОД КОНТРОЛЕМ */ .compact-btn.controlled { background: #4CAF50; border-color: #4CAF50; color: white; } .compact-btn.controlled:hover { background: #d32f2f; border-color: #d32f2f; box-shadow: 0 0 10px rgba(211, 47, 47, 0.4); } /* НЕТ ЭНЕРГИИ */ .compact-btn.disabled { background: #333; border-color: #555; color: #888; cursor: not-allowed; } .compact-btn.disabled:hover { transform: none; box-shadow: none; border-color: #555; } /* СТАТУС ПОД КНОПКОЙ */ .compact-status { font-size: 0.7em; color: #aaa; margin-top: 3px; height: 12px; text-align: center; width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } /* ПОДСКАЗКА ПО ЭНЕРГИИ */ .energy-hint { font-size: 0.8em; color: #888; text-align: center; margin-top: 8px; border-top: 1px dashed #333; padding-top: 8px; } /* === УТИЛИТЫ === */ .utility-buttons { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; } .util-btn { background: #2a2a3a; border: 1px solid #444; border-radius: 6px; color: #e0e0ff; padding: 10px 15px; text-align: center; cursor: pointer; font-size: 0.9em; transition: all 0.2s; display: flex; align-items: center; justify-content: center; gap: 8px; } .util-btn:hover { background: #333350; border-color: #f0c040; color: white; transform: translateY(-2px); } .util-btn:active { transform: translateY(0); } .restart-btn { border-color: #d32f2f; color: #d32f2f; } .restart-btn:hover { background: #d32f2f; color: white; } .util-btn-icon { font-size: 1.1em; } /* ЗАКРЫТЫЕ КОМНАТЫ */ .locked-room { color: #888; font-size: 0.9em; padding: 8px 12px; background: rgba(255, 255, 255, 0.05); border-radius: 6px; margin: 5px 0; border-left: 3px solid #555; } /* СОБЫТИЯ В КОМНАТАХ */ .family-event { background: rgba(240, 192, 64, 0.1); border: 1px solid #f0c040; border-radius: 8px; padding: 15px; margin: 15px 0; } .family-event h3 { color: #f0c040; margin-top: 0; } .family-event a { display: inline-block; background: #f0c040; color: #1a1a24; padding: 8px 15px; border-radius: 4px; text-decoration: none; font-weight: bold; margin-top: 10px; } .family-event a:hover { background: #ffd54f; transform: translateY(-2px); } /* === АДАПТИВНЫЙ ДИЗАЙН ДЛЯ МОБИЛЬНЫХ === */ @media screen and (max-width: 1024px) { /* На планшетах уменьшаем сайдбар */ #custom-sidebar { width: 240px; padding: 15px; } #passages { margin-left: 240px !important; width: calc(100vw - 240px) !important; } } @media screen and (max-width: 768px) { /* На мобильных - сайдбар становится верхней панелью */ #custom-sidebar { position: relative; width: 100% !important; height: auto; max-height: 60vh; overflow-y: auto; border-right: none; border-bottom: 2px solid #2a2a3a; } #passages { margin-left: 0 !important; width: 100% !important; padding: 10px; } /* Скрываем неважное на мобильных */ .compact-status { display: none; } .stat-block:not(.compact-control) { display: none; } .compact-control { display: block !important; } /* Показываем кнопку для разворачивания */ .mobile-toggle { display: block; position: fixed; top: 10px; right: 10px; z-index: 1001; background: #4CAF50; color: white; border: none; border-radius: 50%; width: 40px; height: 40px; font-size: 20px; cursor: pointer; } /* Свёрнутый режим */ #custom-sidebar.collapsed { max-height: 50px; overflow: hidden; padding: 5px 15px; } #custom-sidebar.collapsed .stat-block { display: none; } #custom-sidebar.collapsed .compact-control { display: none !important; } #custom-sidebar.collapsed h3 { margin-bottom: 0; padding-bottom: 5px; } } /* Улучшаем внешний вид для мобильных */ @media screen and (max-width: 480px) { .compact-control-grid { gap: 5px; } .compact-btn { width: 32px; height: 32px; font-size: 0.9em; } .compact-icon { font-size: 1.2em; } .rooms-container a { display: block; margin: 5px 0; padding: 10px; font-size: 1.1em; } }
<button class="util-btn back-btn" onclick="SugarCube.Engine.backward()" title="Go back">⬅ Back</button> <h3>Ghost Chaos</h3> <!-- QUICK CONTROL --> <div class="stat-block compact-control"> <div class="stat-title">👻 QUICK CONTROL</div> <div class="compact-control-grid"> <div class="compact-char"><span class="compact-icon">👧</span><button class="compact-btn" onclick="takeControl('daughter')">D</button></div> <div class="compact-char"><span class="compact-icon">👨</span><button class="compact-btn" onclick="takeControl('father')">F</button></div> <div class="compact-char"><span class="compact-icon">👩</span><button class="compact-btn" onclick="takeControl('mother')">M</button></div> </div> <div class="energy-hint">Control energy: 1</div> </div> <!-- NPC LOCATIONS (новый блок) --> <div class="stat-block"> <div class="stat-title">📍 NPC LOCATIONS</div> <div id="npc-locations" style="font-size:0.93em; line-height:1.45;"></div> </div> <!-- STATISTICS --> <div class="stat-block"> <div class="stat-title">📊 STATISTICS</div> <p>Energy: <span id="ui-energy">0</span>/10</p> <p>Money: $<span id="ui-money">0</span></p> <p>Day: <span id="ui-day">1</span></p> <p>Time: <span id="ui-time">Morning</span></p> <p>Weekday: <span id="ui-weekday">Monday</span></p> </div> <!-- CURRENT CONTROL --> <div class="stat-block"> <div class="stat-title">🧠 CURRENT CONTROL</div> <p>Control: <span id="ui-control">none</span></p> </div> <button class="util-btn" onclick="openRelations()">❤️ Relationships</button> <!-- PATREON --> <a href="https://www.patreon.com/cw/NonPlayer" target="_blank" class="util-btn" style="background:#f96854; border-color:#f96854;"> 🔥 Support on Patreon </a> <!-- Bug Report--> <a href="https://forms.gle/scAcCH4cmYJgJn518" target="_blank" class="util-btn" style="background:#01472e; border-color:#292727;"> 🪲 Bugs Report </a> <div class="stat-block"> <div class="stat-title">💾 SAVES</div> <button class="util-btn" onclick="SugarCube.UI.saves()">💾 Saves</button> </div>
WIP [[Hall]]
<<widget "WhoIsHere">> <<set _room = _args[0]>> <<set _here = []>> <<if $characterLocations and $characterLocations.daughter is _room>><<set _here.push("👧")>><</if>> <<if $characterLocations and $characterLocations.father is _room>><<set _here.push("👨")>><</if>> <<if $characterLocations and $characterLocations.mother is _room>><<set _here.push("👩")>><</if>> <<if _here.length is 0>> <span class="empty">Empty</span> <<else>> <span class="occupied">Present: <<print _here.join(" ")>></span> <</if>> <</widget>> <<widget "Spend">> <<set _n = _args[0] || 0>> <<run window.spendEnergy(_n)>> <<run updateAllUI()>> <</widget>> /* ========================= CARD (container) ========================= */ <<widget "Card">> <div class="room-card"> <<run new Wikifier(this.output, _contents)>> </div> <</widget>> /* ========================= ROOM WRAP (container) Usage: <<RoomWrap "Kitchen" "img/...png">> ... <</RoomWrap>> ========================= */ <<widget "RoomWrap">> <<set _title = _args[0] || "Room">> <<set _bg = _args[1] || "">> <div class="room" <<if _bg>>style="background-image:url('<<=_bg>>')"<</if>>> <div class="room-content"> <h2 class="room-title"><<=_title>></h2> <<run new Wikifier(this.output, _contents)>> </div> </div> <</widget>> /* ========================= ACTION BUTTON (container) Usage: <<ActionBtn "Text" "🍽️" 1 window.canSpendEnergy(1) "primary">> ... <</ActionBtn>> ========================= */ <<widget "ActionBtn">> <<set _label = _args[0]>> <<set _icon = _args[1]>> <<set _costN = _args[2]>> <<set _can = _args[3]>> <<set _tone = _args[4] || "">> <<set _costText = (_costN != null ? _costN + "⚡" : "")>> <<if _can>> <<link '<span class="action-btn ' + _tone + '"><span class="left"><span>' + _icon + '</span><span class="label">' + _label + '</span></span><span class="cost">' + _costText + '</span></span>'>> <<run new Wikifier(this.output, _contents)>> <</link>> <<else>> <span class="action-btn disabled"> <span class="left"><span><<= _icon >></span><span class="label"><<= _label >></span></span> <span class="cost"><<= _costText >></span> </span> <</if>> <</widget>> <<widget "BackToHall">> <div class="room-card"> <<link "⬅ Back to Hall" "Hall">><</link>> </div> <</widget>>
<div id="main-text">\ <h2 class="room-title">Garage</h2>\ <div class="animation-box">\ <img src="img/build/rooms/garage.jpg" class="animation-content">\ </div>\ <<set _here = []>>\ <<if $characterLocations.daughter == "Garage">><<run _here.push("👧 Daughter")>><</if>>\ <<if $characterLocations.father == "Garage">><<run _here.push("👨 Father")>><</if>>\ <<if $characterLocations.mother == "Garage">><<run _here.push("👩 Mother")>><</if>>\ <<if _here.length == 0>>\ <div style="color: #777; font-style: italic; margin: 15px 0;">The garage is currently empty.</div>\ <<else>>\ <div style="color:#ffdd88; font-weight: bold; background: rgba(240,184,64,0.08); padding: 10px 15px; border-radius: 6px; margin: 15px 0; border-left: 3px solid #e8c885;">\ Present: <<print _here.join(" • ")>>\ </div>\ <</if>>\ <<if $controlledCharacter == "daughter">>\ <<if $characterLocations.father == "Garage">>\ <div class="player-choice">\ <h3>👨 Father in the Garage:</h3>\ <<if window.canSpendEnergy(1)>>\ <<link "💬 Interact with Father (1⚡)">>\ <<run window.spendEnergy(1)>>\ <<run window.nextTime()>>\ <<run updateAllUI()>>\ <<goto "DaughterFatherGarageChoice">>\ <</link>>\ <<else>>\ <span style="color: #ff4444;">Not enough energy (1⚡)</span>\ <</if>>\ </div>\ <</if>>\ <<elseif $controlledCharacter == "mother">>\ <<if $characterLocations.father == "Garage">>\ <div class="player-choice">\ <h3>👨 Husband in the Garage:</h3>\ <<if window.canSpendEnergy(1)>>\ <<link "💬 Talk to husband (1⚡)">>\ <<run window.spendEnergy(1)>>\ <<run window.nextTime()>>\ <<run updateAllUI()>>\ <<goto "WifeToHusGarChoice">>\ <</link>>\ <<else>>\ <span style="color: #ff4444;">Not enough energy (1⚡)</span>\ <</if>>\ </div>\ <</if>>\ <<else>>\ <div class="notice" style="margin: 15px 0; font-style: italic; color: #aaa;">\ Take control of a character from the sidebar to interact.\ </div>\ <</if>>\ <hr>\ <div style="margin-top: 20px;">\ <<link "← Return to Hall">>\ <<run window.spendEnergy(0)>>\ <<goto "Hall">>\ <</link>>\ </div>\ </div>
WIP In future will build more "intresting things" -) [[Hall]]
:: DaughterFatherKitchenChoice <div id="main-text">\ <h2 class="room-title">Father in the Kitchen</h2>\ <p>Your father is in the kitchen, focused on his task. The atmosphere feels domestic... but influence can twist even ordinary moments.</p>\ <div class="player-choice">\ <div class="choice-title">Choose your level of interaction:</div>\ <<if $chars.daughter.corruption >= 20 and $chars.father.relations.daughter >= 30>>\ <<if window.canSpendEnergy(1)>>\ <<link "🍽 Level 1: Subtle Approach (1⚡)">>\ <<run window.spendEnergy(1)>>\ <<run window.nextTime()>>\ <<goto "DaughterFatherKitchenLvl1">>\ <</link>>\ <<else>>\ <span class="locked">🍽 Level 1 (1⚡) — Not enough energy</span>\ <</if>>\ <<else>>\ <div class="locked">🔒 Level 1 Requires: Daughter Corruption ≥ 20, Father Relations ≥ 30</div>\ <</if>>\ <<if $chars.daughter.corruption >= 40 and $chars.father.relations.daughter >= 40>>\ <<if window.canSpendEnergy(2)>>\ <<link "🔥 Level 2: Bold Advances (2⚡)">>\ <<run window.spendEnergy(2)>>\ <<run window.nextTime()>>\ <<goto "DaughterFatherKitchenLvl2">>\ <</link>>\ <<else>>\ <span class="locked">🔥 Level 2 (2⚡) — Not enough energy</span>\ <</if>>\ <<else>>\ <div class="locked">🔒 Level 2 Requires: Daughter Corruption ≥ 40, Father Relations ≥ 40</div>\ <</if>>\ <<link "← Return">><<goto "Kitchen">><</link>>\ </div>\ </div>
<div id="main-content"> <div id="main-text"> <h2>You're with your husband in the bedroom.</h2> <p>Honey, Could i come in?</p> <<if not $choiceMadeDaughterBedroomFatherLvl1>> <div class="player-choice"> <div class="choice-title">Your actions:</div> <div class="player-choice inline-links"> <<link "Talk">> <<set $choiceMadeDaughterBedroomFatherLvl1 = "help1">> <<goto "MomToDaughterKitchenLvl1">> <</link>> <<link "Take a towel">> <<set $choiceMadeDaughterBedroomFatherLvl1 = "help2">> <<goto "MomToDaughterKitchenLvl1">> <</link>> <<link "Watch">> <<set $choiceMadeDaughterBedroomFatherLvl1 = "help3">> <<goto "MomToDaughterKitchenLvl1">> <</link>> <<link "Finish your deals and go">> <<set $choiceMadeDaughterBedroomFatherLvl1 = "leave">> <<goto "Hall">> <</link>> </div> </div> <<else>> <<if $choiceMadeDaughterBedroomFatherLvl1 == "help1">> <div class="success-result"> <p>Just a small talk</p> <div class="media-placeholder"> <<print '<img src="img/father/bathroom/help' + random(1, 2) + '.gif" width="500">'>> </div> <<set $chars.mother.relations.daughter += 2>> <<set $chars.daughter.corruption += 1>> </div> <<elseif $choiceMadeDaughterBedroomFatherLvl1 == "help2">> <<if $chars.mother.relations.daughter >= 5>> <div class="success-result"> <p>I bring a pillow for you, honey</p> <div class="media-placeholder"> <img src="img/father/bathroom/help3.gif" width="500"> </div> <<set $chars.mother.relations.daughter += 2>> <<set $chars.daughter.corruption += 1>> </div> <<else>> <div class="fail-result"> <p>"It's strange, mom, why are you looking at me like that??" - Need to rise our relationships</p> <<set $chars.mother.relations.daughter -= 1>> </div> <</if>> <<elseif $choiceMadeDaughterBedroomFatherLvl1 == "help3">> <<if $chars.mother.relations.daughter >= 10>> <div class="success-result"> <p>You just starring on her</p> <div class="media-placeholder"> <<print '<img src="img/father/bathroom/help' + random(4, 5) + '.gif" width="500">'>> </div> <<set $chars.mother.relations.daughter += 2>> <<set $chars.daughter.corruption += 1>> <<set $chars.mother.corruption += 1>> </div> <<else>> <div class="fail-result"> <p>"It's strange, mom, what are u doing??" - Need to rise our relationships</p> <<set $chars.mother.relations.daughter -= 1>> </div> <</if>> <<elseif $choiceMadeDaughterBedroomFatherLvl1 == "leave">> <div class="neutral-result"> <p>Just leave her alone</p> <<set $chars.mother.relations.daughter += 1>> </div> <</if>> <div class="continue-button"> <<link "Continue">> <<set $choiceMadeDaughterBedroomFatherLvl1 = false>> <<run window.nextTime()>> <<goto "ParentsRoom">> <</link>> </div> <</if>> </div> </div>
<div id="main-content">\ <div id="main-text">\ \ <p>\ You are a ghost.<br>\ Bound to this house for years.\ </p>\ \ <p style="letter-spacing: 2px; color: #8f9bb3; font-style: italic; margin: 15px 0;">\ Watching.<br>\ Waiting.<br>\ Learning.\ </p>\ \ <p>\ Then a family moves in.\ </p>\ \ <p>\ Walls fill with voices.<br>\ Rooms fill with habits, weaknesses, routines.\ </p>\ \ <p>\ They don’t know you exist.<br>\ But you know everything about them.\ </p>\ \ <p style="color: var(--accent);">\ And you feel it —\ </p>\ \ <p style="font-size: 1.1em; font-weight: bold;">\ This house is finally alive again.\ </p>\ \ <p>\ Something is about to start.<br>\ Something meant only for adults.\ </p>\ \ <hr>\ \ <p style="text-align: center; margin-top: 25px;">\ <<nobr>> <<link "▶ Start playing">> <<goto "Hall">> <</link>> <</nobr>>\ </p>\ \ </div>\ </div>
:: DaughterFatherKitchenLvl2 <<if $chars.daughter.corruption < 40 or $chars.father.relations.daughter < 40>>\ <p>You don't have enough corruption or relationship to handle this level yet.</p>\ <div class="player-choice inline-links">[[Back to choice->DaughterFatherKitchenChoice]]</div>\ <<else>>\ <div id="main-content">\ <div id="main-text">\ <h2>Seduction: Level 2</h2>\ \ <<if not $choiceMadeKitchenFatherLvl2>>\ <div class="player-choice inline-links" style="display: flex; flex-direction: column; gap: 12px; margin-top: 15px;">\ <div class="choice-title" style="font-weight: bold; color: #e8c885;">What to do?</div>\ \ <<link "💋 Call dad for a footjob">>\ <<set $choiceMadeKitchenFatherLvl2 = "seduce">>\ <<goto "DaughterFatherKitchenLvl2">>\ <</link>> \ <<link "😊 Secret blowjob under the table">>\ <<set $choiceMadeKitchenFatherLvl2 = "innocent">>\ <<goto "DaughterFatherKitchenLvl2">>\ <</link>> \ <<link "👀 Ask dad to release stress right here">>\ <<set $choiceMadeKitchenFatherLvl2 = "open">>\ <<goto "DaughterFatherKitchenLvl2">>\ <</link>> </div>\ \ <<else>>\ <<set _forceDetect = false>>\ \ \ <<if $choiceMadeKitchenFatherLvl2 == "seduce">>\ <div class="animation-box" style="margin: 10px 0;">\ <img src="img/daughter/kitchen/foot1.gif" class="animation-content">\ </div>\ <<if $chars.father.relations.daughter >= 42>>\ <div class="success-result" style="background: rgba(240,184,64,0.03); padding: 15px; border-radius: 6px;">\ <p>You slide your foot up his leg beneath the kitchen table. He freezes, exhales roughly, but doesn't move away.</p>\ <p style="color: #ffaa44; font-weight: bold;">🔥 Stats: +2 Father Relations, +1 Father Corruption</p>\ <<set $chars.father.relations.daughter += 2>>\ <<set $chars.father.corruption += 1>>\ </div>\ <<else>>\ <div class="partial-result" style="background: rgba(240,184,64,0.03); padding: 15px; border-radius: 6px;">\ <p>"What are you doing?!" He flinches heavily, knocking his chair back in confusion.</p>\ <p style="color: #ff4444; font-weight: bold;">📉 Stats: -2 Father Relations, +1 Daughter Corruption</p>\ <<set $chars.father.relations.daughter -= 2>>\ <<set $chars.daughter.corruption += 1>>\ </div>\ <</if>>\ \ <<elseif $choiceMadeKitchenFatherLvl2 == "innocent">>\ <div class="animation-box" style="margin: 10px 0;">\ <img src="img/daughter/kitchen/sbj.gif" class="animation-content">\ </div>\ <<if $chars.father.relations.daughter >= 45>>\ <div class="success-result" style="background: rgba(240,184,64,0.03); padding: 15px; border-radius: 6px;">\ <p>You lock the kitchen door and drop to your knees. He grips the counter, completely giving in to your control.</p>\ <p style="color: #ffaa44; font-weight: bold;">🔥 Stats: +2 Father Relations, +1 Father Corruption, +1 Daughter Corruption</p>\ <<set $chars.father.relations.daughter += 2>>\ <<set $chars.father.corruption += 1>>\ <<set $chars.daughter.corruption += 1>>\ </div>\ <<else>>\ <div class="neutral-result" style="background: rgba(255,255,255,0.02); padding: 15px; border-radius: 6px;">\ <p>"Good God, stop this immediately! Get out of here!" He pushes you back, trembling.</p>\ <p style="color: #ff4444; font-weight: bold;">📉 Stats: -3 Father Relations</p>\ <<set $chars.father.relations.daughter -= 3>>\ </div>\ <</if>>\ \ <<elseif $choiceMadeKitchenFatherLvl2 == "open">>\ <div class="animation-box" style="margin: 10px 0;">\ <img src="img/daughter/kitchen/sex1.gif" class="animation-content">\ </div>\ <<if $chars.daughter.corruption >= 45>>\ <div class="success-result" style="background: rgba(240,184,64,0.03); padding: 15px; border-radius: 6px;">\ <p>You demand his attention directly, trapping him against the kitchen counter. He doesn't even try to fight it anymore.</p>\ <p style="color: #ffaa44; font-weight: bold;">🔥 Stats: +2 Father Relations, +1 Father Corruption, +1 Daughter Corruption</p>\ <<set $chars.father.relations.daughter += 2>>\ <<set $chars.father.corruption += 1>>\ <<set $chars.daughter.corruption += 1>>\ <<set _forceDetect = true>>\ </div>\ <<else>>\ <div class="fail-result" style="background: rgba(255,0,0,0.03); padding: 15px; border-radius: 6px;">\ <p>"Are you completely out of your mind?! Get out of my sight!"</p>\ <p style="color: #ff4444; font-weight: bold;">📉 Stats: -5 Father Relations</p>\ <<set $chars.father.relations.daughter -= 5>>\ </div>\ <</if>>\ <</if>>\ \ \ <<set _systemDetect = window.checkDetection("daughter", "father", "Kitchen")>>\ <<if _forceDetect or _systemDetect>>\ <div class="detected-warning" style="background: rgba(255,68,68,0.08); padding: 12px; margin-top: 15px; border-left: 4px solid #ff4444; border-radius: 4px;">\ <p>⚠️ <strong>Warning:</strong> Father feels deeply compromised by what just happened in the kitchen.</p>\ <p style="color: #ff4444; font-weight: bold;">📉 Detection Penalty: -8 Father Relations</p>\ <<set $chars.father.relations.daughter -= 8>>\ </div>\ <</if>>\ \ <div class="continue-button" style="margin-top: 20px;">\ <<link "Continue">>\ <<set $choiceMadeKitchenFatherLvl2 = false>>\ <<run window.nextTime()>>\ <<run updateAllUI()>>\ <<goto "Kitchen">>\ <</link>>\ </div>\ <</if>>\ </div>\ </div>\ <</if>>\
:: FatherBedRoomNightScene1 <div id="main-text">\ <h2 class="room-title">Night Fun</h2>\ <p>The house is quiet, dark, and perfectly set for a risky nighttime mistake.</p>\ <<if not $choiceMadeBedroomNightFatherLvl1>>\ <div class="player-choice">\ <div class="choice-title">What to do?</div>\ <<link "💋 Night blowjob for your daddy">>\ <<set $choiceMadeBedroomNightFatherLvl1 = "seduce">>\ <<goto "FatherBedRoomNightScene1">>\ <</link>>\ <<link "😊 Wake him up with intimacy">>\ <<set $choiceMadeBedroomNightFatherLvl1 = "innocent">>\ <<goto "FatherBedRoomNightScene1">>\ <</link>>\ </div>\ <<else>>\ <<if $choiceMadeBedroomNightFatherLvl1 == "seduce">>\ <div class="success-result">\ <div class="animation-box">\ [img[String.format('img/daughter/sex/nightbj' + random(1, 3) + '.gif')]]\ </div>\ <p>"Let me make you happy, daddy..." you whisper into the dark room.</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 Stats: +2 Father Relations, +1 Father Corruption, +1 Daughter Corruption</p>\ <<set $chars.father.relations.daughter += 2>>\ <<set $chars.father.corruption += 1>>\ <<set $chars.daughter.corruption += 1>>\ </div>\ <<else>>\ <div class="success-result">\ <div class="animation-box">\ [img[String.format('img/daughter/sex/nsex' + random(1, 3) + '.gif')]]\ </div>\ <p>"Shh... Be quiet. I love you," you reassure him as he panics slightly.</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 Stats: +2 Father Relations, +1 Father Corruption, +1 Daughter Corruption</p>\ <<set $chars.father.relations.daughter += 2>>\ <<set $chars.father.corruption += 1>>\ <<set $chars.daughter.corruption += 1>>\ </div>\ <</if>>\ <<set _detected = window.checkDetection("daughter", "father", "ParentsRoom")>>\ <<if _detected>>\ <div class="detected-warning">\ <p>⚠️ <strong>CRITICAL FAILURE!</strong> Your mother stirred in her sleep or walked in on you!</p>\ <p style="color:#ff4444; font-weight:bold;">📉 Mother Relations: -8 to Father, -8 to Daughter</p>\ <<set $chars.mother.relations.father -= 8>>\ <<set $chars.mother.relations.daughter -= 8>>\ </div>\ <</if>>\ <<link "Continue">>\ <<set $choiceMadeBedroomNightFatherLvl1 = false>>\ <<run window.nextTime()>>\ <<goto "ParentsRoom">>\ <</link>>\ <</if>>\ </div>
<div id="main-text">\ <h2 class="room-title">Night Fun</h2>\ <p>The house is quiet, dark, and perfectly set for a risky nighttime mistake.</p>\ <<if $chars.father.corruption < 40 or $chars.daughter.relations.father < 40>>\ <h3 class="room-title">Night Intrusion</h3>\ <div class="locked">⚠️ Action unavailable. You do not have enough corruption or high enough relationship with your daughter.</div>\ <<link "← Go back">> <<run window.spendEnergy(0)>>\ <<goto "DaughterRoom">>\ <</link>> <<else>>\ <<if not $choiceMadeBedroomNightFatherLvl1>>\ <div class="player-choice">\ <div class="choice-title">What do you want to do?</div>\ <<link "💋 Slip in for a sleepy blowjob">> <<set $choiceMadeBedroomNightFatherLvl1 = "seduce">>\ <<goto "DaughterBedRoomNightScene1">>\ <</link>> <<link "😈 Can't resist pushing further">> <<set $choiceMadeBedroomNightFatherLvl1 = "innocent">>\ <<goto "DaughterBedRoomNightScene1">>\ <</link>> </div>\ <<else>>\ <<if $choiceMadeBedroomNightFatherLvl1 == "seduce">>\ <div class="animation-box">\ <<set _rand to random(1, 3)>>\ <<set _path to "img/father/daughterroom/nbj" + _rand + ".webp">>\ <<print '<img src="' + _path + '" class="animation-content">'>>\ </div>\ <div class="success-result">\ <p>"I'll take care of you, daddy..." she whispers softly, half-asleep.</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 Stats: +2 Relations, +1 Father Corruption, +1 Daughter Corruption</p>\ <<set $chars.father.relations.daughter += 2>>\ <<set $chars.father.corruption += 1>>\ <<set $chars.daughter.corruption += 1>>\ </div>\ <<else>>\ <div class="animation-box">\ <<set _rand to random(1, 3)>>\ <<set _path to "img/father/daughterroom/nsex" + _rand + ".webp">>\ <<print '<img src="' + _path + '" class="animation-content">'>>\ </div>\ <<if $chars.father.relations.daughter >= 22>>\ <div class="success-result">\ <p>"Be quiet! Someone might hear us..." she sighs, yielding to you.</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 Stats: +2 Relations, +1 Father Corruption, +1 Daughter Corruption</p>\ <<set $chars.father.relations.daughter += 2>>\ <<set $chars.father.corruption += 1>>\ <<set $chars.daughter.corruption += 1>>\ </div>\ <<else>>\ <div class="fail-result">\ <p>"Good god!! Please, get out of here right now!" she panics.</p>\ <p style="color:#ff4444; font-weight:bold;">📉 Stats: -3 Relations</p>\ <<set $chars.father.relations.daughter -= 3>>\ </div>\ <</if>>\ <</if>>\ \ <<set _detected = window.checkDetection("father", "daughter", "DaughterRoom")>>\ <<if _detected>>\ <div class="detected-warning">\ <p>⚠️ <strong>Caught Red-Handed!</strong> Mother noticed suspicious noises!</p>\ <p style="color:#ff4444; font-weight:bold;">📉 Mother Relations: -8 to Father, -8 to Daughter</p>\ <<set $chars.mother.relations.father -= 8>>\ <<set $chars.mother.relations.daughter -= 8>>\ </div>\ <</if>>\ \ <<link "Continue to the next day">>\ <<set $choiceMadeBedroomNightFatherLvl1 = false>>\ <<run window.spendEnergy(0)>>\ <<run window.nextTime()>>\ <<run updateAllUI()>>\ <<goto "Hall">>\ <</link>>\ <</if>>\ <</if>>\ </div>
<div id="main-text">\ <h2 class="room-title">Daughter's Room (Father Control)</h2>\ <p>You enter your daughter's room. Maybe you should try to "help" her with her homework?</p>\ <<if $controlledCharacter neq "father" or $characterLocations.daughter neq "DaughterRoom">>\ <p style="color:#aaa;">You are not in control of Father or Daughter is not here.</p>\ <<link "← Return">>\ <<run window.spendEnergy(0)>>\ <<goto "DaughterRoom">>\ <</link>>\ <<else>>\ <div class="player-choice inline-links" style="display: flex; flex-direction: column; gap: 12px; margin-top: 20px;">\ <div class="choice-title" style="font-weight: bold; color: #e8c885;">Choose level of interaction:</div>\ <<if $chars.father.corruption >= 10 and $chars.daughter.corruption >= 15 and $chars.daughter.relations.father >= 20>>\ <<if window.canSpendEnergy(1)>>\ <<link "💬 Level 1: Homework Assistance (1⚡)">>\ <<run window.spendEnergy(1)>>\ <<goto "FatherDaughterRoom1">>\ <</link>>\ <<else>>\ <span style="color: #555; cursor: not-allowed;">💬 Level 1 (1⚡) <span style="color: #ff4444;">(Not enough energy)</span></span>\ <</if>>\ <<else>>\ <span class="locked">🔒 Level 1: Father Corruption ≥10, Daughter Corruption ≥15, Relations ≥20</span>\ <</if>>\ <<if $chars.father.corruption >= 30 and $chars.daughter.corruption >= 25 and $chars.daughter.relations.father >= 30>>\ <<if window.canSpendEnergy(2)>>\ <<link "💦 Level 2: Advanced Lessons (2⚡)">>\ <<run window.spendEnergy(2)>>\ <<goto "FatherDaughterRoom2">>\ <</link>>\ <<else>>\ <span style="color: #555; cursor: not-allowed;">💦 Level 2 (2⚡) <span style="color: #ff4444;">(Not enough energy)</span></span>\ <</if>>\ <<else>>\ <span class="locked">🔒 Level 2: Father Corruption ≥30, Daughter Corruption ≥25, Relations ≥30</span>\ <</if>>\ <div style="margin-top: 15px;">\ <<link "← Return to Daughter's Room">>\ <<run window.spendEnergy(0)>>\ <<goto "DaughterRoom">>\ <</link>>\ </div>\ </div>\ <</if>>\ </div>
<div id="main-text">\ <h2 class="room-title">Homework Assistance</h2>\ <p>"Honey, do you need any help with your homework?"</p>\ <<if not $choiceDaughterRoomFatherLvl1>>\ <div class="player-choice">\ <div class="choice-title">Your actions:</div>\ <<link "Talk while solving homework">>\ <<set $choiceDaughterRoomFatherLvl1 = "help1">>\ <<goto "FatherDaughterRoom1">>\ <</link>> <<link "Drop the pen">>\ <<set $choiceDaughterRoomFatherLvl1 = "help2">>\ <<goto "FatherDaughterRoom1">>\ <</link>> <<link "Motivate her to learn!">>\ <<set $choiceDaughterRoomFatherLvl1 = "help3">>\ <<goto "FatherDaughterRoom1">>\ <</link>> <<link "Finish and leave">>\ <<set $choiceDaughterRoomFatherLvl1 = "leave">>\ <<goto "FatherDaughterRoom1">>\ <</link>> </div>\ <<else>>\ <<if $choiceDaughterRoomFatherLvl1 == "help1">>\ <div class="success-result">\ <div class="animation-box">\ <img src="img/father/daughterroom/help1.webp" class="animation-content">\ </div>\ <p>You have a very nice and warm conversation while reviewing her assignments.</p>\ <p style="color:#85e885; font-weight:bold;">📈 +2 Relations, +1 Daughter Corruption, +1 Father Corruption</p>\ <<set $chars.daughter.relations.father += 2>>\ <<set $chars.daughter.corruption += 1>>\ <<set $chars.father.corruption += 1>>\ </div>\ \ <<elseif $choiceDaughterRoomFatherLvl1 == "help2">>\ <<if $chars.daughter.relations.father >= 10>>\ <div class="success-result">\ <div class="animation-box">\ <img src="img/father/daughterroom/help2.webp" class="animation-content">\ </div>\ <p>"Sorry, honey, I've dropped my pen..." You use the moment to steal a quick glance.</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 +2 Relations, +1 Daughter Corruption, +1 Father Corruption</p>\ <<set $chars.daughter.relations.father += 2>>\ <<set $chars.daughter.corruption += 1>>\ <<set $chars.father.corruption += 1>>\ </div>\ <<else>>\ <div class="fail-result">\ <p>She looks uncomfortable and finishes her homework quickly.</p>\ <p style="color:#ff4444; font-weight:bold;">📉 -1 Relations</p>\ <<set $chars.daughter.relations.father -= 1>>\ </div>\ <</if>>\ \ <<elseif $choiceDaughterRoomFatherLvl1 == "help3">>\ <<if $chars.daughter.relations.father >= 10>>\ <div class="success-result">\ <div class="animation-box">\ <img src="img/father/daughterroom/help3.webp" class="animation-content">\ </div>\ <p>You find the right words and close presence to motivate her.</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 +2 Relations, +1 Daughter Corruption, +1 Father Corruption</p>\ <<set $chars.daughter.relations.father += 2>>\ <<set $chars.daughter.corruption += 1>>\ <<set $chars.father.corruption += 1>>\ </div>\ <<else>>\ <div class="fail-result">\ <p>"Please, give me some privacy," she says firmly.</p>\ <p style="color:#ff4444; font-weight:bold;">📉 -1 Relations</p>\ <<set $chars.daughter.relations.father -= 1>>\ </div>\ <</if>>\ \ <<else>>\ <div class="neutral-result">\ <p>You decide to leave her alone with her studies for now.</p>\ <p style="color:#85e885; font-weight:bold;">📈 +1 Relations</p>\ <<set $chars.daughter.relations.father += 1>>\ </div>\ <</if>>\ \ <<link "Continue">>\ <<set $choiceDaughterRoomFatherLvl1 = false>>\ <<run window.spendEnergy(0)>>\ <<run window.nextTime()>>\ <<run updateAllUI()>>\ <<goto "DaughterRoom">>\ <</link>>\ <</if>>\ </div>
<div id="main-text">\ <h2 class="room-title">Advanced Lessons</h2>\ <p>"Honey, let's try a different kind of motivation for your studies today..."</p>\ <<if not $choiceDaughterRoomFatherLvl2>>\ <div class="player-choice">\ <div class="choice-title">Your actions:</div>\ <<link "Offer to train her mouth">>\ <<set $choiceDaughterRoomFatherLvl2 = "help1">>\ <<goto "FatherDaughterRoom2">>\ <</link>> <<link "Make a closer conversation">>\ <<set $choiceDaughterRoomFatherLvl2 = "help2">>\ <<goto "FatherDaughterRoom2">>\ <</link>> <<link "Make more motivation for her lessons">>\ <<set $choiceDaughterRoomFatherLvl2 = "help3">>\ <<goto "FatherDaughterRoom2">>\ <</link>> <<link "Finish homework and leave">>\ <<set $choiceDaughterRoomFatherLvl2 = "leave">>\ <<goto "FatherDaughterRoom2">>\ <</link>> </div>\ <<else>>\ <<if $choiceDaughterRoomFatherLvl2 == "help1">>\ <div class="success-result">\ <div class="animation-box">\ <<set _rand to random(4, 5)>>\ <<set _path to "img/father/daughterroom/help" + _rand + ".webp">>\ <<print '<img src="' + _path + '" class="animation-content">'>>\ </div>\ <p>You take control of the situation completely, shifting the nature of your interaction.</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 +2 Relations, +1 Daughter Corruption, +1 Father Corruption</p>\ <<set $chars.daughter.relations.father += 2>>\ <<set $chars.daughter.corruption += 1>>\ <<set $chars.father.corruption += 1>>\ </div>\ \ <<elseif $choiceDaughterRoomFatherLvl2 == "help2">>\ <<if $chars.daughter.relations.father >= 10>>\ <div class="success-result">\ <div class="animation-box">\ <<set _rand to random(6, 8)>>\ <<set _path to "img/father/daughterroom/help" + _rand + ".webp">>\ <<print '<img src="' + _path + '" class="animation-content">'>>\ </div>\ <p>"I'll teach you exactly how to listen to your daddy..."</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 +2 Relations, +1 Daughter Corruption, +1 Father Corruption</p>\ <<set $chars.daughter.relations.father += 2>>\ <<set $chars.daughter.corruption += 1>>\ <<set $chars.father.corruption += 1>>\ </div>\ <<else>>\ <div class="fail-result">\ <p>She resists the escalation and demands to end the session.</p>\ <p style="color:#ff4444; font-weight:bold;">📉 -1 Relations</p>\ <<set $chars.daughter.relations.father -= 1>>\ </div>\ <</if>>\ \ <<elseif $choiceDaughterRoomFatherLvl2 == "help3">>\ <<if $chars.daughter.relations.father >= 10>>\ <div class="success-result">\ <div class="animation-box">\ <img src="img/father/daughterroom/help9.webp" class="animation-content">\ </div>\ <p>You push her boundaries further, reinforcing your authority.</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 +2 Relations, +1 Daughter Corruption, +1 Father Corruption</p>\ <<set $chars.daughter.relations.father += 2>>\ <<set $chars.daughter.corruption += 1>>\ <<set $chars.father.corruption += 1>>\ </div>\ <<else>>\ <div class="fail-result">\ <p>"Please, get out of my room," she says angrily.</p>\ <p style="color:#ff4444; font-weight:bold;">📉 -1 Relations</p>\ <<set $chars.daughter.relations.father -= 1>>\ </div>\ <</if>>\ \ <<else>>\ <div class="neutral-result">\ <p>You clear your throat and step out of her room.</p>\ <p style="color:#85e885; font-weight:bold;">📈 +1 Relations</p>\ <<set $chars.daughter.relations.father += 1>>\ </div>\ <</if>>\ \ <<link "Continue">>\ <<set $choiceDaughterRoomFatherLvl2 = false>>\ <<run window.spendEnergy(0)>>\ <<run window.nextTime()>>\ <<run updateAllUI()>>\ <<goto "DaughterRoom">>\ <</link>>\ <</if>>\ </div>
<div id="main-text">\ <h2 class="room-title">Kitchen (Father Control)</h2>\ <p>Your daughter is in the kitchen helping with dinner. What will you do?</p>\ <div class="player-choice inline-links" style="display: flex; flex-direction: column; gap: 12px; margin-top: 20px;">\ <div class="choice-title" style="font-weight: bold; color: #e8c885;">Choose level of interaction:</div>\ <<if $chars.father.corruption >= 0 and $chars.daughter.corruption >= 10 and $chars.daughter.relations.father >= 15>>\ <<if window.canSpendEnergy(1)>>\ <<link "💬 Level 1: Light Interaction (1⚡)">>\ <<run window.spendEnergy(1)>>\ <<goto "FatherToDaughterKitchenLvl1">>\ <</link>>\ <<else>>\ <span style="color: #555; cursor: not-allowed;">💬 Level 1 (1⚡) <span style="color: #ff4444;">(Not enough energy)</span></span>\ <</if>>\ <<else>>\ <span class="locked">🔒 Level 1: Light (Daughter Corruption ≥10, Relations ≥15)</span>\ <</if>>\ <<if $chars.father.corruption >= 25 and $chars.daughter.corruption >= 25 and $chars.daughter.relations.father >= 30>>\ <<if window.canSpendEnergy(2)>>\ <<link "💦 Level 2: Advanced Interaction (2⚡)">>\ <<run window.spendEnergy(2)>>\ <<goto "FatherToDaughterKitchenLvl2">>\ <</link>>\ <<else>>\ <span style="color: #555; cursor: not-allowed;">💦 Level 2 (2⚡) <span style="color: #ff4444;">(Not enough energy)</span></span>\ <</if>>\ <<else>>\ <span class="locked">🔒 Level 2: Advanced (Daughter Corruption ≥25, Relations ≥30)</span>\ <</if>>\ <div style="margin-top: 15px;">\ <<link "← Return to Kitchen">>\ <<run window.spendEnergy(0)>>\ <<goto "Kitchen">>\ <</link>>\ </div>\ </div>\ </div>
<div id="main-content"> <div id="main-text"> <h2>You're with your husband in the bedroom.</h2> <p>Honey, Could i come in?</p> <<if not $choiceMadeDaughterBedroomFatherLvl1>> <div class="player-choice"> <div class="choice-title">Your actions:</div> <div class="player-choice inline-links"> <<link "Talk">> <<set $choiceMadeDaughterBedroomFatherLvl1 = "help1">> <<goto "MomToDaughterKitchenLvl1">> <</link>> <<link "Take a towel">> <<set $choiceMadeDaughterBedroomFatherLvl1 = "help2">> <<goto "MomToDaughterKitchenLvl1">> <</link>> <<link "Watch">> <<set $choiceMadeDaughterBedroomFatherLvl1 = "help3">> <<goto "MomToDaughterKitchenLvl1">> <</link>> <<link "Finish your deals and go">> <<set $choiceMadeDaughterBedroomFatherLvl1 = "leave">> <<goto "Hall">> <</link>> </div> </div> <<else>> <<if $choiceMadeDaughterBedroomFatherLvl1 == "help1">> <div class="success-result"> <p>Just a small talk</p> <div class="media-placeholder"> <<print '<img src="img/father/bathroom/help' + random(1, 2) + '.gif" width="500">'>> </div> <<set $chars.mother.relations.daughter += 2>> <<set $chars.daughter.corruption += 1>> </div> <<elseif $choiceMadeDaughterBedroomFatherLvl1 == "help2">> <<if $chars.mother.relations.daughter >= 5>> <div class="success-result"> <p>I bring a pillow for you, honey</p> <div class="media-placeholder"> <img src="img/father/bathroom/help3.gif" width="500"> </div> <<set $chars.mother.relations.daughter += 2>> <<set $chars.daughter.corruption += 1>> </div> <<else>> <div class="fail-result"> <p>"It's strange, mom, why are you looking at me like that??" - Need to rise our relationships</p> <<set $chars.mother.relations.daughter -= 1>> </div> <</if>> <<elseif $choiceMadeDaughterBedroomFatherLvl1 == "help3">> <<if $chars.mother.relations.daughter >= 10>> <div class="success-result"> <p>You just starring on her</p> <div class="media-placeholder"> <<print '<img src="img/father/bathroom/help' + random(4, 5) + '.gif" width="500">'>> </div> <<set $chars.mother.relations.daughter += 2>> <<set $chars.daughter.corruption += 1>> <<set $chars.mother.corruption += 1>> </div> <<else>> <div class="fail-result"> <p>"It's strange, mom, what are u doing??" - Need to rise our relationships</p> <<set $chars.mother.relations.daughter -= 1>> </div> <</if>> <<elseif $choiceMadeDaughterBedroomFatherLvl1 == "leave">> <div class="neutral-result"> <p>Just leave her alone</p> <<set $chars.mother.relations.daughter += 1>> </div> <</if>> <div class="continue-button"> <<link "Continue">> <<set $choiceMadeDaughterBedroomFatherLvl1 = false>> <<run window.nextTime()>> <<goto "LivingRoom">> <</link>> </div> <</if>> </div> </div>
<div id="main-text">\ <h2 class="room-title">Kitchen</h2>\ <p>"Honey, do you need any help here?"</p>\ <<if not $choiceDaughterKitchenFatherLvl1>>\ <div class="player-choice">\ <div class="choice-title">Your actions:</div>\ <<link "Talk while cooking">>\ <<set $choiceDaughterKitchenFatherLvl1 = "help1">>\ <<goto "FatherToDaughterKitchenLvl1">>\ <</link>> <<link "Touch her">>\ <<set $choiceDaughterKitchenFatherLvl1 = "help2">>\ <<goto "FatherToDaughterKitchenLvl1">>\ <</link>> <<link "Kiss her">>\ <<set $choiceDaughterKitchenFatherLvl1 = "help3">>\ <<goto "FatherToDaughterKitchenLvl1">>\ <</link>> <<link "Finish and leave">>\ <<set $choiceDaughterKitchenFatherLvl1 = "leave">>\ <<goto "FatherToDaughterKitchenLvl1">>\ <</link>> </div>\ <<else>>\ <<if $choiceDaughterKitchenFatherLvl1 == "help1">>\ <div class="success-result">\ <div class="animation-box">\ <img src="img/father/kitchen/help1.webp" class="animation-content">\ </div>\ <p>You have a nice conversation while cooking together.</p>\ <p style="color:#85e885; font-weight:bold;">📈 +2 Relations, +1 Daughter Corruption, +1 Father Corruption</p>\ <<set $chars.daughter.relations.father += 2>>\ <<set $chars.daughter.corruption += 1>>\ <<set $chars.father.corruption += 1>>\ </div>\ \ <<elseif $choiceDaughterKitchenFatherLvl1 == "help2">>\ <<if $chars.daughter.relations.father >= 10>>\ <div class="success-result">\ <div class="animation-box">\ <img src="img/father/kitchen/help2.webp" class="animation-content">\ </div>\ <p>"I can't resist. Your body is perfect..."</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 +2 Relations, +1 Daughter Corruption, +1 Father Corruption</p>\ <<set $chars.daughter.relations.father += 2>>\ <<set $chars.daughter.corruption += 1>>\ <<set $chars.father.corruption += 1>>\ </div>\ <<else>>\ <div class="fail-result">\ <p>"Finish your homework for today," she says, pulling away.</p>\ <p style="color:#ff4444; font-weight:bold;">📉 -1 Relations</p>\ <<set $chars.daughter.relations.father -= 1>>\ </div>\ <</if>>\ \ <<elseif $choiceDaughterKitchenFatherLvl1 == "help3">>\ <<if $chars.daughter.relations.father >= 10>>\ <div class="success-result">\ <div class="animation-box">\ <img src="img/father/kitchen/help3.webp" class="animation-content">\ </div>\ <p>Her lips are so gentle and passionate.</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 +2 Relations, +1 Daughter Corruption, +1 Father Corruption</p>\ <<set $chars.daughter.relations.father += 2>>\ <<set $chars.daughter.corruption += 1>>\ <<set $chars.father.corruption += 1>>\ </div>\ <<else>>\ <div class="fail-result">\ <p>"Please, give me some privacy," she says firmly.</p>\ <p style="color:#ff4444; font-weight:bold;">📉 -1 Relations</p>\ <<set $chars.daughter.relations.father -= 1>>\ </div>\ <</if>>\ \ <<else>>\ <div class="neutral-result">\ <p>You decide to finish and leave her alone.</p>\ </div>\ <</if>>\ \ <<link "Continue">>\ <<set $choiceDaughterKitchenFatherLvl1 = false>>\ <<run window.spendEnergy(0)>>\ <<run window.nextTime()>>\ <<run updateAllUI()>>\ <<goto "Kitchen">>\ <</link>>\ <</if>>\ </div>
<div id="main-text">\ <h2 class="room-title">Advanced Help</h2>\ <p>"Honey, I helped you, now it's your turn, right?"</p>\ <<if not $choiceDaughterKitchenFatherLvl2>>\ <div class="player-choice">\ <div class="choice-title">Your actions:</div>\ <<link "Drop her to kneel">>\ <<set $choiceDaughterKitchenFatherLvl2 = "help1">>\ <<goto "FatherToDaughterKitchenLvl2">>\ <</link>> <<link "Sneaky interaction">>\ <<set $choiceDaughterKitchenFatherLvl2 = "help2">>\ <<goto "FatherToDaughterKitchenLvl2">>\ <</link>> <<link "Finish">>\ <<set $choiceDaughterKitchenFatherLvl2 = "leave">>\ <<goto "FatherToDaughterKitchenLvl2">>\ <</link>> </div>\ <<else>>\ <<if $choiceDaughterKitchenFatherLvl2 == "help1">>\ <div class="success-result">\ <div class="animation-box">\ <<set _rand to random(4, 6)>>\ <<set _path to "img/father/kitchen/help" + _rand + ".webp">>\ <<print '<img src="' + _path + '" class="animation-content">'>>\ </div>\ <p>She reacts with unexpected enthusiasm.</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 +2 Relations, +1 Daughter Corruption, +1 Father Corruption</p>\ <<set $chars.daughter.relations.father += 2>>\ <<set $chars.daughter.corruption += 1>>\ <<set $chars.father.corruption += 1>>\ </div>\ \ <<elseif $choiceDaughterKitchenFatherLvl2 == "help2">>\ <<if $chars.daughter.relations.father >= 10>>\ <div class="success-result">\ <div class="animation-box">\ <<set _rand to random(7, 8)>>\ <<set _path to "img/father/kitchen/help" + _rand + ".webp">>\ <<print '<img src="' + _path + '" class="animation-content">'>>\ </div>\ <p>"Be quiet, stupid girl!"</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 +2 Relations, +1 Daughter Corruption, +1 Father Corruption</p>\ <<set $chars.daughter.relations.father += 2>>\ <<set $chars.daughter.corruption += 1>>\ <<set $chars.father.corruption += 1>>\ </div>\ <<else>>\ <div class="fail-result">\ <p>It's too risky right now. She resists.</p>\ <p style="color:#ff4444; font-weight:bold;">📉 -1 Relations</p>\ <<set $chars.daughter.relations.father -= 1>>\ </div>\ <</if>>\ \ <<else>>\ <div class="neutral-result">\ <p>You decide to finish and leave her alone.</p>\ <p style="color:#85e885; font-weight:bold;">📈 +1 Relations</p>\ <<set $chars.daughter.relations.father += 1>>\ </div>\ <</if>>\ \ <<set _detected = window.checkDetection("father", "daughter", "Kitchen")>>\ <<if _detected>>\ <div class="detected-warning">\ <p>⚠️ <strong>Caught!</strong> Mother noticed suspicious activity in the kitchen.</p>\ <p style="color:#ff4444; font-weight:bold;">📉 Mother Relations: -8 to Father, -8 to Daughter</p>\ <<set $chars.mother.relations.father -= 8>>\ <<set $chars.mother.relations.daughter -= 8>>\ </div>\ <</if>>\ \ <<link "Continue">>\ <<set $choiceDaughterKitchenFatherLvl2 = false>>\ <<run window.spendEnergy(0)>>\ <<run window.nextTime()>>\ <<run updateAllUI()>>\ <<goto "Kitchen">>\ <</link>>\ <</if>>\ </div>
<div id="main-text">\ <h2 class="room-title">Daughter in the Bathroom (Father Control)</h2>\ <p>Your daughter is taking a bath. You know you shouldn't, but desire wins and you quietly open the door.</p>\ <div class="player-choice inline-links" style="display: flex; flex-direction: column; gap: 12px; margin-top: 20px;">\ <div class="choice-title" style="font-weight: bold; color: #e8c885;">Choose level of interaction:</div>\ <<if $chars.father.corruption >= 0 and $chars.daughter.corruption >= 0 and $chars.daughter.relations.father >= 0>>\ <<if window.canSpendEnergy(1)>>\ <<link "💬 Level 1: Light Interaction (1⚡)">>\ <<run window.spendEnergy(1)>>\ <<goto "FatherToDaughterBathLvl1">>\ <</link>>\ <<else>>\ <span style="color: #555; cursor: not-allowed;">💬 Level 1 (1⚡) <span style="color: #ff4444;">(Not enough energy)</span></span>\ <</if>>\ <<else>>\ <span class="locked">🔒 Level 1: Light Interaction</span>\ <</if>>\ <<if $chars.father.corruption >= 20 and $chars.daughter.corruption >= 41 and $chars.daughter.relations.father >= 41>>\ <<if window.canSpendEnergy(1)>>\ <<link "💦 Level 2: Medium & Heavy Interaction (1⚡)">>\ <<run window.spendEnergy(1)>>\ <<goto "FatherToDaughterBathLvl2">>\ <</link>>\ <<else>>\ <span style="color: #555; cursor: not-allowed;">💦 Level 2 (1⚡) <span style="color: #ff4444;">(Not enough energy)</span></span>\ <</if>>\ <<else>>\ <span class="locked">🔒 Level 2: Requires Daughter Corruption ≥41 and Relations ≥41</span>\ <</if>>\ <div style="margin-top: 15px;">\ <<link "← Return to Bathroom">>\ <<run window.spendEnergy(0)>>\ <<goto "Bathroom">>\ <</link>>\ </div>\ </div>\ </div>
<div id="main-text">\ <h2 class="room-title">Daughter in the Bathroom</h2>\ <p>"Honey, I need to come in for a second. Is it okay?"</p>\ <<if not $choiceDaughterBathFatherLvl1>>\ <div class="player-choice">\ <div class="choice-title">Your actions:</div>\ <<link "Watch her washing and talk">>\ <<set $choiceDaughterBathFatherLvl1 = "help1">>\ <<goto "FatherToDaughterBathLvl1">>\ <</link>> <<link "Talk while she notices you staring">>\ <<set $choiceDaughterBathFatherLvl1 = "help2">>\ <<goto "FatherToDaughterBathLvl1">>\ <</link>> <<link "Pretend to leave but stay and watch">>\ <<set $choiceDaughterBathFatherLvl1 = "help3">>\ <<goto "FatherToDaughterBathLvl1">>\ <</link>> <<link "Leave her alone">>\ <<set $choiceDaughterBathFatherLvl1 = "leave">>\ <<goto "FatherToDaughterBathLvl1">>\ <</link>> </div>\ <<else>>\ <<if $choiceDaughterBathFatherLvl1 == "help1">>\ <div class="animation-box">\ <<set _rand to random(1, 2)>>\ <<set _path to "img/father/bathroom/help" + _rand + ".gif">>\ <<print '<img src="' + _path + '" class="animation-content">'>>\ </div>\ <div class="success-result">\ <p>"Daddy, can you pass me the shampoo?" You talk casually while enjoying the view. She seems relaxed.</p>\ <p style="color:#85e885; font-weight:bold;">📈 +2 Relations, +1 Father Corruption</p>\ <<set $chars.daughter.relations.father += 2>>\ <<set $chars.father.corruption += 1>>\ </div>\ \ <<elseif $choiceDaughterBathFatherLvl1 == "help2">>\ <<if $chars.daughter.relations.father >= 12>>\ <div class="animation-box">\ <img src="img/father/bathroom/help3.gif" class="animation-content">\ </div>\ <div class="success-result">\ <p>"Sweetie, your body has become so beautiful..." She blushes but doesn't cover herself immediately.</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 +2 Relations, +1 Daughter Corruption, +1 Father Corruption</p>\ <<set $chars.daughter.relations.father += 2>>\ <<set $chars.daughter.corruption += 1>>\ <<set $chars.father.corruption += 1>>\ </div>\ <<else>>\ <div class="fail-result">\ <p>"Dad... you're staring..." She looks uncomfortable.</p>\ <p style="color:#ff4444; font-weight:bold;">📉 -1 Relations</p>\ <<set $chars.daughter.relations.father -= 1>>\ </div>\ <</if>>\ \ <<elseif $choiceDaughterBathFatherLvl1 == "help3">>\ <<if $chars.daughter.relations.father >= 15>>\ <div class="animation-box">\ <<set _rand to random(4, 5)>>\ <<set _path to "img/father/bathroom/help" + _rand + ".gif">>\ <<print '<img src="' + _path + '" class="animation-content">'>>\ </div>\ <div class="success-result">\ <p>You pretend to leave but stay by the door, watching her wet body. The sight excites you greatly.</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 +2 Relations, +1 Daughter Corruption, +1 Father Corruption</p>\ <<set $chars.daughter.relations.father += 2>>\ <<set $chars.daughter.corruption += 1>>\ <<set $chars.father.corruption += 1>>\ </div>\ <<else>>\ <div class="fail-result">\ <p>"Dad, please give me some privacy..." She sounds annoyed.</p>\ <p style="color:#ff4444; font-weight:bold;">📉 -1 Relations</p>\ <<set $chars.daughter.relations.father -= 1>>\ </div>\ <</if>>\ \ <<else>>\ <div class="neutral-result">\ <p>You decide to leave her alone for now.</p>\ </div>\ <</if>>\ \ <<link "Continue">>\ <<set $choiceDaughterBathFatherLvl1 = false>>\ <<run window.spendEnergy(0)>>\ <<run window.nextTime()>>\ <<run updateAllUI()>>\ <<goto "Bathroom">>\ <</link>>\ <</if>>\ </div>
<div id="main-text">\ <h2 class="room-title">Pushing Boundaries</h2>\ <p>"Honey, I helped you... now it's your turn to help Daddy, right?"</p>\ <<if not $choiceDaughterBathFatherLvl2>>\ <div class="player-choice">\ <div class="choice-title">Your actions:</div>\ <<link "Make her kneel">>\ <<set $choiceDaughterBathFatherLvl2 = "help1">>\ <<goto "FatherToDaughterBathLvl2">>\ <</link>> <<link "Sneaky sex (wife is nearby)">>\ <<set $choiceDaughterBathFatherLvl2 = "help2">>\ <<goto "FatherToDaughterBathLvl2">>\ <</link>> <<link "Cum">>\ <<set $choiceDaughterBathFatherLvl2 = "help3">>\ <<goto "FatherToDaughterBathLvl2">>\ <</link>> <<link "Leave">>\ <<set $choiceDaughterBathFatherLvl2 = "leave">>\ <<goto "FatherToDaughterBathLvl2">>\ <</link>> </div>\ <<else>>\ <<if $choiceDaughterBathFatherLvl2 == "help1">>\ <div class="animation-box">\ <<set _rand to random(6, 7)>>\ <<set _path to "img/father/bathroom/help" + _rand + ".gif">>\ <<print '<img src="' + _path + '" class="animation-content">'>>\ </div>\ <div class="success-result">\ <p>You gently guide her to her knees. She looks up at you nervously but obeys.</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 +2 Relations, +1 Daughter Corruption, +1 Father Corruption</p>\ <<set $chars.daughter.relations.father += 2>>\ <<set $chars.daughter.corruption += 1>>\ <<set $chars.father.corruption += 1>>\ </div>\ \ <<elseif $choiceDaughterBathFatherLvl2 == "help2">>\ <<if $chars.daughter.corruption >= 40 and $chars.daughter.relations.father >= 40>>\ <div class="animation-box">\ <<set _rand to random(8, 10)>>\ <<set _path to "img/father/bathroom/help" + _rand + ".gif">>\ <<print '<img src="' + _path + '" class="animation-content">'>>\ </div>\ <div class="success-result">\ <p>You take her quickly but quietly against the sink while your wife is somewhere nearby. The risk makes it even hotter.</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 +2 Relations, +1 Daughter Corruption, +1 Father Corruption</p>\ <<set $chars.daughter.relations.father += 2>>\ <<set $chars.daughter.corruption += 1>>\ <<set $chars.father.corruption += 1>>\ </div>\ <<else>>\ <div class="fail-result">\ <p>"Dad... we can't... not here..." She resists.</p>\ <p style="color:#ff4444; font-weight:bold;">📉 -2 Relations</p>\ <<set $chars.daughter.relations.father -= 2>>\ </div>\ <</if>>\ \ <<elseif $choiceDaughterBathFatherLvl2 == "help3">>\ <<if $chars.daughter.corruption >= 50 and $chars.daughter.relations.father >= 50>>\ <div class="animation-box">\ <img src="img/father/bathroom/help11.gif" class="animation-content">\ </div>\ <div class="success-result">\ <p>You finish inside her mouth. She swallows, looking dazed and submissive.</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 +2 Relations, +1 Daughter Corruption, +1 Father Corruption</p>\ <<set $chars.daughter.relations.father += 2>>\ <<set $chars.daughter.corruption += 1>>\ <<set $chars.father.corruption += 1>>\ </div>\ <<else>>\ <div class="fail-result">\ <p>She pulls away at the last moment, coughing.</p>\ <p style="color:#ff4444; font-weight:bold;">📉 -2 Relations</p>\ <<set $chars.daughter.relations.father -= 2>>\ </div>\ <</if>>\ \ <<else>>\ <div class="neutral-result">\ <p>You stop and leave the bathroom.</p>\ <p style="color:#85e885; font-weight:bold;">+1 Relations</p>\ <<set $chars.daughter.relations.father += 1>>\ </div>\ <</if>>\ \ <<link "Continue">>\ <<set $choiceDaughterBathFatherLvl2 = false>>\ <<run window.spendEnergy(0)>>\ <<run window.nextTime()>>\ <<run updateAllUI()>>\ <<goto "Bathroom">>\ <</link>>\ <</if>>\ </div>
<div id="main-text">\ <h2 class="room-title">Living Room (Father Control)</h2>\ <p>Your daughter is in the living room. What will you do?</p>\ <div class="player-choice inline-links" style="display: flex; flex-direction: column; gap: 12px; margin-top: 20px;">\ <div class="choice-title" style="font-weight: bold; color: #e8c885;">Choose level of interaction:</div>\ <<if $chars.father.corruption >= 0 and $chars.daughter.corruption >= 0 and $chars.daughter.relations.father >= 0>>\ <<if window.canSpendEnergy(1)>>\ <<link "💬 Level 1: Light Interaction (1⚡)">>\ <<run window.spendEnergy(1)>>\ <<goto "FatherToDaughterLivLvl1">>\ <</link>>\ <<else>>\ <span style="color: #555; cursor: not-allowed;">💬 Level 1 (1⚡) <span style="color: #ff4444;">(Not enough energy)</span></span>\ <</if>>\ <<else>>\ <span class="locked">🔒 Level 1: Light Interaction</span>\ <</if>>\ <<if $chars.father.corruption >= 20 and $chars.daughter.corruption >= 41 and $chars.daughter.relations.father >= 41>>\ <<if window.canSpendEnergy(1)>>\ <<link "💦 Level 2: Medium Interaction (1⚡)">>\ <<run window.spendEnergy(1)>>\ <<goto "FatherToDaughterLivLvl2">>\ <</link>>\ <<else>>\ <span style="color: #555; cursor: not-allowed;">💦 Level 2 (1⚡) <span style="color: #ff4444;">(Not enough energy)</span></span>\ <</if>>\ <<else>>\ <span class="locked">🔒 Level 2: Medium (Daughter Corruption ≥41, Relations ≥41)</span>\ <</if>>\ <<if $chars.father.corruption >= 35 and $chars.daughter.corruption >= 41 and $chars.daughter.relations.father >= 41>>\ <<if window.canSpendEnergy(1)>>\ <<link "🔥 Level 3: Heavy Interaction (1⚡)">>\ <<run window.spendEnergy(1)>>\ <<goto "FatherToDaughterLivLvl3">>\ <</link>>\ <<else>>\ <span style="color: #555; cursor: not-allowed;">🔥 Level 3 (1⚡) <span style="color: #ff4444;">(Not enough energy)</span></span>\ <</if>>\ <<else>>\ <span class="locked">🔒 Level 3: Heavy (Daughter Corruption ≥41, Relations ≥41)</span>\ <</if>>\ <div style="margin-top: 15px;">\ <<link "← Return to Living Room">>\ <<run window.spendEnergy(0)>>\ <<goto "LivingRoom">>\ <</link>>\ </div>\ </div>\ </div>
<div id="main-text">\ <h2 class="room-title">Living Room</h2>\ <p>"Honey, may I join you?"</p>\ <<if not $choiceDaughterLivFatherLvl1>>\ <div class="player-choice">\ <div class="choice-title">Your actions:</div>\ <<link "Just watch news and talk">>\ <<set $choiceDaughterLivFatherLvl1 = "help1">>\ <<goto "FatherToDaughterLivLvl1">>\ <</link>> <<link "Watch a new TV series together">>\ <<set $choiceDaughterLivFatherLvl1 = "help2">>\ <<goto "FatherToDaughterLivLvl1">>\ <</link>> <<link "Watch something spicy together">>\ <<set $choiceDaughterLivFatherLvl1 = "help3">>\ <<goto "FatherToDaughterLivLvl1">>\ <</link>> <<link "Leave her alone">>\ <<set $choiceDaughterLivFatherLvl1 = "leave">>\ <<goto "FatherToDaughterLivLvl1">>\ <</link>> </div>\ <<else>>\ <<if $choiceDaughterLivFatherLvl1 == "help1">>\ <div class="animation-box">\ <<set _rand to random(1, 2)>>\ <<set _path to "img/father/livingroom/help" + _rand + ".gif">>\ <<print '<img src="' + _path + '" class="animation-content">'>>\ </div>\ <div class="success-result">\ <p>You watch the news together and have a calm conversation. The atmosphere is warm and pleasant.</p>\ <p style="color:#85e885; font-weight:bold;">📈 +2 Relations, +1 Father Corruption</p>\ <<set $chars.daughter.relations.father += 2>>\ <<set $chars.father.corruption += 1>>\ </div>\ \ <<elseif $choiceDaughterLivFatherLvl1 == "help2">>\ <div class="animation-box">\ <<set _rand to random(1, 2)>>\ <<set _path to "img/father/livingroom/help" + _rand + ".gif">>\ <<print '<img src="' + _path + '" class="animation-content">'>>\ </div>\ <div class="success-result">\ <p>You watch an interesting series together. She enjoys it and even kisses you on the cheek.</p>\ <p style="color:#85e885; font-weight:bold;">📈 +3 Relations, +1 Father Corruption</p>\ <<set $chars.daughter.relations.father += 3>>\ <<set $chars.father.corruption += 1>>\ </div>\ \ <<elseif $choiceDaughterLivFatherLvl1 == "help3">>\ <<if $chars.daughter.relations.father >= 10>>\ <div class="animation-box">\ <img src="img/father/livingroom/help3.gif" class="animation-content">\ </div>\ <div class="success-result">\ <p>You put on something a bit more daring. She blushes but continues watching.</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 +2 Relations, +1 Daughter Corruption, +1 Father Corruption</p>\ <<set $chars.daughter.relations.father += 2>>\ <<set $chars.daughter.corruption += 1>>\ <<set $chars.father.corruption += 1>>\ </div>\ <<else>>\ <div class="fail-result">\ <p>"Mmm, I don't wanna see that..." She quickly leaves the room.</p>\ <p style="color:#ff4444; font-weight:bold;">📉 -1 Relations</p>\ <<set $chars.daughter.relations.father -= 1>>\ </div>\ <</if>>\ \ <<else>>\ <div class="neutral-result">\ <p>You decide to leave her alone for now.</p>\ </div>\ <</if>>\ \ <<link "Continue">>\ <<set $choiceDaughterLivFatherLvl1 = false>>\ <<run window.spendEnergy(0)>>\ <<run window.nextTime()>>\ <<run updateAllUI()>>\ <<goto "LivingRoom">>\ <</link>>\ <</if>>\ </div>
<div id="main-text">\ <h2 class="room-title">Living Room</h2>\ <p>"Honey, may I join you?"</p>\ <<if not $choiceDaughterLivFatherLvl2>>\ <div class="player-choice">\ <div class="choice-title">Your actions:</div>\ <<link "Sit on my lap like when you were little">>\ <<set $choiceDaughterLivFatherLvl2 = "help2">>\ <<goto "FatherToDaughterLivLvl2">>\ <</link>> <<link "Lie down on my lap, you look tired">>\ <<set $choiceDaughterLivFatherLvl2 = "help3">>\ <<goto "FatherToDaughterLivLvl2">>\ <</link>> <<link "Leave">>\ <<set $choiceDaughterLivFatherLvl2 = "leave">>\ <<goto "FatherToDaughterLivLvl2">>\ <</link>> </div>\ <<else>>\ <<if $choiceDaughterLivFatherLvl2 == "help2">>\ <<if $chars.daughter.corruption >= 41 and $chars.daughter.relations.father >= 41>>\ <div class="animation-box">\ <<set _rand to random(4, 6)>>\ <<set _path to "img/father/livingroom/help" + _rand + ".gif">>\ <<print '<img src="' + _path + '" class="animation-content">'>>\ </div>\ <div class="success-result">\ <p>She shyly sits on your lap. You feel her warmth.</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 +2 Relations, +1 Daughter Corruption, +1 Father Corruption</p>\ <<set $chars.daughter.relations.father += 2>>\ <<set $chars.daughter.corruption += 1>>\ <<set $chars.father.corruption += 1>>\ </div>\ <<else>>\ <div class="fail-result">\ <p>"Why should I? I'm not a little kid anymore..." She refuses.</p>\ <p style="color:#ff4444; font-weight:bold;">📉 -1 Relations</p>\ <<set $chars.daughter.relations.father -= 1>>\ </div>\ <</if>>\ \ <<elseif $choiceDaughterLivFatherLvl2 == "help3">>\ <<if $chars.daughter.corruption >= 45 and $chars.daughter.relations.father >= 45>>\ <div class="animation-box">\ <<set _rand to random(7, 9)>>\ <<set _path to "img/father/livingroom/help" + _rand + ".gif">>\ <<print '<img src="' + _path + '" class="animation-content">'>>\ </div>\ <div class="success-result">\ <p>She lays her head on your lap. You quietly unzip your pants...</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 +2 Relations, +1 Daughter Corruption, +1 Father Corruption</p>\ <<set $chars.daughter.relations.father += 2>>\ <<set $chars.daughter.corruption += 1>>\ <<set $chars.father.corruption += 1>>\ </div>\ <<else>>\ <div class="fail-result">\ <p>"What the fuck?! Dad!" She jumps up and runs away.</p>\ <p style="color:#ff4444; font-weight:bold;">📉 -3 Relations</p>\ <<set $chars.daughter.relations.father -= 3>>\ </div>\ <</if>>\ \ <<else>>\ <div class="neutral-result">\ <p>You decide to leave her alone.</p>\ </div>\ <</if>>\ \ <<link "Continue">>\ <<set $choiceDaughterLivFatherLvl2 = false>>\ <<run window.spendEnergy(0)>>\ <<run window.nextTime()>>\ <<run updateAllUI()>>\ <<goto "LivingRoom">>\ <</link>>\ <</if>>\ </div>
<div id="main-text">\ <h2 class="room-title">Living Room</h2>\ <p>"Honey, I can't resist anymore..."</p>\ <<if not $choiceDaughterLivFatherLvl3>>\ <div class="player-choice">\ <div class="choice-title">Your actions:</div>\ <<link "Blowjob">>\ <<set $choiceDaughterLivFatherLvl3 = "help1">>\ <<goto "FatherToDaughterLivLvl3">>\ <</link>> <<link "Sex">>\ <<set $choiceDaughterLivFatherLvl3 = "help2">>\ <<goto "FatherToDaughterLivLvl3">>\ <</link>> <<link "Cum">>\ <<set $choiceDaughterLivFatherLvl3 = "help3">>\ <<goto "FatherToDaughterLivLvl3">>\ <</link>> <<link "Leave">>\ <<set $choiceDaughterLivFatherLvl3 = "leave">>\ <<goto "FatherToDaughterLivLvl3">>\ <</link>>\ </div>\ <<else>>\ <<if $choiceDaughterLivFatherLvl3 == "help1">>\ <div class="animation-box">\ <<set _rand to random(10, 12)>>\ <<set _path to "img/father/livingroom/help" + _rand + ".gif">>\ <<print '<img src="' + _path + '" class="animation-content">'>>\ </div>\ <div class="success-result">\ <p>You guide her head down. She starts pleasuring you with her mouth.</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 +2 Relations, +1 Daughter Corruption, +1 Father Corruption</p>\ <<set $chars.daughter.relations.father += 2>>\ <<set $chars.daughter.corruption += 1>>\ <<set $chars.father.corruption += 1>>\ </div>\ \ <<elseif $choiceDaughterLivFatherLvl3 == "help2">>\ <<if $chars.daughter.corruption >= 50 and $chars.daughter.relations.father >= 50>>\ <div class="animation-box">\ <<set _rand to random(13, 14)>>\ <<set _path to "img/father/livingroom/help" + _rand + ".gif">>\ <<print '<img src="' + _path + '" class="animation-content">'>>\ </div>\ <div class="success-result">\ <p>You fuck her right on the couch, trying to be quiet.</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 +2 Relations, +1 Daughter Corruption, +1 Father Corruption</p>\ <<set $chars.daughter.relations.father += 2>>\ <<set $chars.daughter.corruption += 1>>\ <<set $chars.father.corruption += 1>>\ </div>\ <<else>>\ <div class="fail-result">\ <p>She resists strongly.</p>\ <p style="color:#ff4444; font-weight:bold;">📉 -2 Relations</p>\ <<set $chars.daughter.relations.father -= 2>>\ </div>\ <</if>>\ \ <<elseif $choiceDaughterLivFatherLvl3 == "help3">>\ <<if $chars.daughter.corruption >= 55 and $chars.daughter.relations.father >= 55>>\ <div class="animation-box">\ <<set _rand to random(15, 16)>>\ <<set _path to "img/father/livingroom/help" + _rand + ".gif">>\ <<print '<img src="' + _path + '" class="animation-content">'>>\ </div>\ <div class="success-result">\ <p>You cum hard. She swallows everything.</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 +2 Relations, +1 Daughter Corruption, +1 Father Corruption</p>\ <<set $chars.daughter.relations.father += 2>>\ <<set $chars.daughter.corruption += 1>>\ <<set $chars.father.corruption += 1>>\ </div>\ <<else>>\ <div class="fail-result">\ <p>She pulls away at the last moment.</p>\ <p style="color:#ff4444; font-weight:bold;">📉 -2 Relations</p>\ <<set $chars.daughter.relations.father -= 2>>\ </div>\ <</if>>\ \ <<else>>\ <div class="neutral-result">\ <p>You stop and leave her alone.</p>\ </div>\ <</if>>\ \ <<link "Continue">>\ <<set $choiceDaughterLivFatherLvl3 = false>>\ <<run window.spendEnergy(0)>>\ <<run window.nextTime()>>\ <<run updateAllUI()>>\ <<goto "LivingRoom">>\ <</link>>\ <</if>>\ </div>
<div id="main-text">\ <h2 class="room-title">Kitchen</h2>\ <p>"Honey, do you need something?"</p>\ <<if not $choiceDaughterKitchenMotherLvl1>>\ <div class="player-choice">\ <div class="choice-title">Your actions:</div>\ <<link "Seduce her gently">>\ <<set $choiceDaughterKitchenMotherLvl1 = "seduce">>\ <<goto "MomToDaughterKitchenLvl1">>\ <</link>> <<link "Talk with her">>\ <<set $choiceDaughterKitchenMotherLvl1 = "talk">>\ <<goto "MomToDaughterKitchenLvl1">>\ <</link>> <<link "Touch her">>\ <<set $choiceDaughterKitchenMotherLvl1 = "touch">>\ <<goto "MomToDaughterKitchenLvl1">>\ <</link>> <<link "Leave her alone">>\ <<set $choiceDaughterKitchenMotherLvl1 = "leave">>\ <<goto "MomToDaughterKitchenLvl1">>\ <</link>> </div>\ <<else>>\ <<if $choiceDaughterKitchenMotherLvl1 == "seduce">>\ <div class="animation-box">\ <img src="img/mother/todaughter/kitchen/clean.webp" class="animation-content">\ </div>\ <div class="success-result">\ <p>You gently flirt and compliment her while helping around the kitchen. She smiles shyly.</p>\ <p style="color:#85e885; font-weight:bold;">📈 +2 Relations, +1 Mother Corruption</p>\ <<set $chars.daughter.relations.mother += 2>>\ <<set $chars.mother.corruption += 1>>\ </div>\ \ <<elseif $choiceDaughterKitchenMotherLvl1 == "talk">>\ <div class="animation-box">\ <img src="img/mother/todaughter/kitchen/talk1.webp" class="animation-content">\ </div>\ <div class="success-result">\ <p>You have a pleasant conversation while she cooks.</p>\ <p style="color:#85e885; font-weight:bold;">📈 +2 Relations, +1 Mother Corruption</p>\ <<set $chars.daughter.relations.mother += 2>>\ <<set $chars.mother.corruption += 1>>\ </div>\ \ <<elseif $choiceDaughterKitchenMotherLvl1 == "touch">>\ <<if $chars.daughter.relations.mother >= 8>>\ <div class="animation-box">\ <img src="img/mother/todaughter/kitchen/touch1.webp" class="animation-content">\ </div>\ <div class="success-result">\ <p>You hug her from behind while she's busy. She doesn't mind.</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 +2 Relations, +1 Daughter Corruption, +1 Mother Corruption</p>\ <<set $chars.daughter.relations.mother += 2>>\ <<set $chars.daughter.corruption += 1>>\ <<set $chars.mother.corruption += 1>>\ </div>\ <<else>>\ <div class="fail-result">\ <p>"Mom... what are you doing?" She feels a bit awkward.</p>\ <p style="color:#ff4444; font-weight:bold;">📉 -1 Relations</p>\ <<set $chars.daughter.relations.mother -= 1>>\ </div>\ <</if>>\ \ <<else>>\ <div class="neutral-result">\ <p>You decide to leave her alone for now.</p>\ </div>\ <</if>>\ \ <<link "Continue">>\ <<set $choiceDaughterKitchenMotherLvl1 = false>>\ <<run window.spendEnergy(0)>>\ <<run window.nextTime()>>\ <<run updateAllUI()>>\ <<goto "Kitchen">>\ <</link>>\ <</if>>\ </div>
<div id="main-text">\ <h2 class="room-title">Kitchen</h2>\ <p>Maybe I should push her a little further...</p>\ <<if not $choiceDaughterKitchenMotherLvl2>>\ <div class="player-choice">\ <div class="choice-title">Your actions:</div>\ <<link "Secret Fuck">>\ <<set $choiceDaughterKitchenMotherLvl2 = "fuck">>\ <<goto "MomToDaughterKitchenLvl2">>\ <</link>> <<link "Fingering">>\ <<set $choiceDaughterKitchenMotherLvl2 = "fing">>\ <<goto "MomToDaughterKitchenLvl2">>\ <</link>> <<link "Lick her">>\ <<set $choiceDaughterKitchenMotherLvl2 = "lick">>\ <<goto "MomToDaughterKitchenLvl2">>\ <</link>> <<link "Make her cum">>\ <<set $choiceDaughterKitchenMotherLvl2 = "lhc">>\ <<goto "MomToDaughterKitchenLvl2">>\ <</link>> <<link "Leave">>\ <<set $choiceDaughterKitchenMotherLvl2 = "leave">>\ <<goto "MomToDaughterKitchenLvl2">>\ <</link>> </div>\ <<else>>\ <<if $choiceDaughterKitchenMotherLvl2 == "fuck">>\ <div class="animation-box">\ <<set _rand to random(1, 3)>>\ <<set _path to "img/mother/todaughter/kitchen/fck" + _rand + ".webp">>\ <<print '<img src="' + _path + '" class="animation-content">'>>\ </div>\ <div class="success-result">\ <p>You take her right there on the kitchen counter. She tries to stay quiet.</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 +2 Relations, +1 Daughter Corruption, +1 Mother Corruption</p>\ <<set $chars.daughter.relations.mother += 2>>\ <<set $chars.daughter.corruption += 1>>\ <<set $chars.mother.corruption += 1>>\ </div>\ \ <<elseif $choiceDaughterKitchenMotherLvl2 == "fing">>\ <div class="animation-box">\ <img src="img/mother/todaughter/kitchen/fng1.webp" class="animation-content">\ </div>\ <div class="success-result">\ <p>Your fingers slide under her skirt. She bites her lip to stay silent.</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 +2 Relations, +1 Daughter Corruption, +1 Mother Corruption</p>\ <<set $chars.daughter.relations.mother += 2>>\ <<set $chars.daughter.corruption += 1>>\ <<set $chars.mother.corruption += 1>>\ </div>\ \ <<elseif $choiceDaughterKitchenMotherLvl2 == "lick">>\ <div class="animation-box">\ <img src="img/mother/todaughter/kitchen/lick1.webp" class="animation-content">\ </div>\ <div class="success-result">\ <p>You get on your knees and pleasure her with your tongue.</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 +2 Relations, +1 Daughter Corruption, +1 Mother Corruption</p>\ <<set $chars.daughter.relations.mother += 2>>\ <<set $chars.daughter.corruption += 1>>\ <<set $chars.mother.corruption += 1>>\ </div>\ \ <<elseif $choiceDaughterKitchenMotherLvl2 == "lhc">>\ <div class="animation-box">\ <img src="img/mother/todaughter/kitchen/lhc1.webp" class="animation-content">\ </div>\ <div class="success-result">\ <p>You bring her to a strong orgasm. Her legs shake as she holds onto the counter.</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 +2 Relations, +1 Daughter Corruption, +1 Mother Corruption</p>\ <<set $chars.daughter.relations.mother += 2>>\ <<set $chars.daughter.corruption += 1>>\ <<set $chars.mother.corruption += 1>>\ </div>\ \ <<else>>\ <div class="neutral-result">\ <p>You stop yourself and leave the kitchen.</p>\ </div>\ <</if>>\ \ <<link "Continue">>\ <<set $choiceDaughterKitchenMotherLvl2 = false>>\ <<run window.spendEnergy(0)>>\ <<run window.nextTime()>>\ <<run updateAllUI()>>\ <<goto "Kitchen">>\ <</link>>\ <</if>>\ </div>
<div id="main-text">\ <h2 class="room-title">Daughter's Room (Mother Control)</h2>\ <p>You are inside your daughter's room. How do you want to approach her?</p>\ <div class="player-choice inline-links" style="display: flex; flex-direction: column; gap: 12px; margin-top: 20px;">\ <div class="choice-title" style="font-weight: bold; color: #e8c885;">Choose level of interaction:</div>\ <<if $chars.mother.corruption >= 0 and $chars.daughter.corruption >= 0>>\ <<if window.canSpendEnergy(1)>>\ <<link "💬 Level 1: Light Interaction (1⚡)">>\ <<run window.spendEnergy(1)>>\ <<goto "MomToDaughterRoomLvl1">>\ <</link>>\ <<else>>\ <span style="color: #555; cursor: not-allowed;">💬 Level 1 (1⚡) <span style="color: #ff4444;">(Not enough energy)</span></span>\ <</if>>\ <<else>>\ <span class="locked">🔒 Level 1: Light Interaction (Mother Corruption ≥ 0, Daughter Corruption ≥ 0)</span>\ <</if>>\ <<if $chars.mother.corruption >= 20 and $chars.daughter.corruption >= 31 and $chars.daughter.relations.mother >= 31>>\ <<if window.canSpendEnergy(1)>>\ <<link "💦 Level 2: Medium Interaction (1⚡)">>\ <<run window.spendEnergy(1)>>\ <<goto "MomToDaughterRoomLvl2">>\ <</link>>\ <<else>>\ <span style="color: #555; cursor: not-allowed;">💦 Level 2 (1⚡) <span style="color: #ff4444;">(Not enough energy)</span></span>\ <</if>>\ <<else>>\ <span class="locked">🔒 Level 2: Medium (Mother ≥20, Daughter Corruption ≥31, Relations ≥31)</span>\ <</if>>\ <<if $chars.mother.corruption >= 40 and $chars.daughter.corruption >= 61 and $chars.daughter.relations.mother >= 61>>\ <<if window.canSpendEnergy(1)>>\ <<link "🔥 Level 3: Maximum Interaction (1⚡)">>\ <<run window.spendEnergy(1)>>\ <<goto "MomToDaughterRoomLvl3">>\ <</link>>\ <<else>>\ <span style="color: #555; cursor: not-allowed;">🔥 Level 3 (1⚡) <span style="color: #ff4444;">(Not enough energy)</span></span>\ <</if>>\ <<else>>\ <span class="locked">🔒 Level 3: Maximum (Mother ≥40, Daughter Corruption ≥61, Relations ≥61)</span>\ <</if>>\ <div style="margin-top: 15px;">\ <<link "← Return to Daughter's Room">>\ <<run window.spendEnergy(0)>>\ <<goto "DaughterRoom">>\ <</link>>\ </div>\ </div>\ </div>
<div id="main-text">\ <h2 class="room-title">Pushing Boundaries</h2>\ <p>Maybe it's time to guide her a little further...</p>\ <<if not $choiceDaughterRoomLvl2>>\ <div class="player-choice">\ <div class="choice-title">Your actions:</div>\ <<link "Dirty talk">>\ <<set $choiceDaughterRoomLvl2 = "dirty">>\ <<goto "MomToDaughterRoomLvl2">>\ <</link>> <<link "Touch her gently">>\ <<set $choiceDaughterRoomLvl2 = "touch">>\ <<goto "MomToDaughterRoomLvl2">>\ <</link>> <<link "Give her a kiss">>\ <<set $choiceDaughterRoomLvl2 = "kiss">>\ <<goto "MomToDaughterRoomLvl2">>\ <</link>> <<link "Leave">>\ <<set $choiceDaughterRoomLvl2 = "leave">>\ <<goto "MomToDaughterRoomLvl2">>\ <</link>> </div>\ <<else>>\ <<if $choiceDaughterRoomLvl2 == "dirty">>\ <div class="animation-box">\ <img src="img/mother/todaughter/daughterRoom/talk4.webp" class="animation-content">\ </div>\ <div class="success-result">\ <p>"A girl should know how to enjoy herself properly..." She blushes deeply.</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 +2 Relations, +1 Daughter Corruption, +1 Mother Corruption</p>\ <<set $chars.daughter.relations.mother += 2>>\ <<set $chars.daughter.corruption += 1>>\ <<set $chars.mother.corruption += 1>>\ </div>\ \ <<elseif $choiceDaughterRoomLvl2 == "touch">>\ <<if $chars.daughter.corruption >= 35 and $chars.daughter.relations.mother >= 35>>\ <div class="animation-box">\ <<set _rand to random(1,2)>>\ <<set _path to "img/mother/todaughter/daughterRoom/touch" + _rand + ".webp">>\ <<print '<img src="' + _path + '" class="animation-content">'>>\ </div>\ <div class="success-result">\ <p>You pull her into a tight hug, your hands sliding down her body.</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 +2 Relations, +1 Daughter Corruption, +1 Mother Corruption</p>\ <<set $chars.daughter.relations.mother += 2>>\ <<set $chars.daughter.corruption += 1>>\ <<set $chars.mother.corruption += 1>>\ </div>\ <<else>>\ <div class="fail-result">\ <p>"Mom... what are you doing?" She steps back awkwardly.</p>\ <p style="color:#ff4444; font-weight:bold;">📉 -1 Relations</p>\ <<set $chars.daughter.relations.mother -= 1>>\ </div>\ <</if>>\ \ <<elseif $choiceDaughterRoomLvl2 == "kiss">>\ <<if $chars.daughter.corruption >= 40 and $chars.daughter.relations.mother >= 40>>\ <div class="animation-box">\ <img src="img/mother/todaughter/daughterRoom/touch2.webp" class="animation-content">\ </div>\ <div class="success-result">\ <p>You cup her face and give her a deep, lingering kiss.</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 +2 Relations, +1 Daughter Corruption, +1 Mother Corruption</p>\ <<set $chars.daughter.relations.mother += 2>>\ <<set $chars.daughter.corruption += 1>>\ <<set $chars.mother.corruption += 1>>\ </div>\ <<else>>\ <div class="fail-result">\ <p>"Mom! That's too much!" She pulls away in shock.</p>\ <p style="color:#ff4444; font-weight:bold;">📉 -2 Relations</p>\ <<set $chars.daughter.relations.mother -= 2>>\ </div>\ <</if>>\ \ <<else>>\ <div class="neutral-result">\ <p>You stop and leave the room.</p>\ </div>\ <</if>>\ \ <<link "Continue">>\ <<set $choiceDaughterRoomLvl2 = false>>\ <<run window.spendEnergy(0)>>\ <<run window.nextTime()>>\ <<run updateAllUI()>>\ <<goto "DaughterRoom">>\ <</link>>\ <</if>>\ </div>
<div id="main-text">\ <h2 class="room-title">She's Ready to Go Further</h2>\ <p>Just try, what could happen?</p>\ <<if not $choiceDaughterRoomLvl3>>\ <div class="player-choice">\ <div class="choice-title">Your actions:</div>\ <<link "Lick her">> <<set $choiceDaughterRoomLvl3 = "lick">>\ <<goto "MomToDaughterRoomLvl3">>\ <</link>> <<link "Fuck her">>\ <<set $choiceDaughterRoomLvl3 = "fuck">>\ <<goto "MomToDaughterRoomLvl3">>\ <</link>> <<link "Cum">>\ <<set $choiceDaughterRoomLvl3 = "cum">>\ <<goto "MomToDaughterRoomLvl3">>\ <</link>> <<link "Leave">> <<set $choiceDaughterRoomLvl3 = "leave">>\ <<goto "MomToDaughterRoomLvl3">>\ <</link>> </div>\ <<else>>\ <<if $choiceDaughterRoomLvl3 == "lick">>\ <div class="animation-box">\ <<set _rand to random(1,3)>>\ <<set _path to "img/mother/todaughter/daughterRoom/lick" + _rand + ".webp">>\ <<print '<img src="' + _path + '" class="animation-content">'>>\ </div>\ <div class="success-result">\ <p>You push her gently onto the bed and start licking her intimately.</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 +2 Relations, +1 Daughter Corruption, +1 Mother Corruption</p>\ <<set $chars.daughter.relations.mother += 2>>\ <<set $chars.daughter.corruption += 1>>\ <<set $chars.mother.corruption += 1>>\ </div>\ \ <<elseif $choiceDaughterRoomLvl3 == "fuck">>\ <<if $chars.daughter.corruption >= 65 and $chars.daughter.relations.mother >= 65>>\ <div class="animation-box">\ <<set _rand to random(1,2)>>\ <<set _path to "img/mother/todaughter/daughterRoom/fck" + _rand + ".webp">>\ <<print '<img src="' + _path + '" class="animation-content">'>>\ </div>\ <div class="success-result">\ <p>You take her completely. The room fills with heavy breathing.</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 +2 Relations, +1 Daughter Corruption, +1 Mother Corruption</p>\ <<set $chars.daughter.relations.mother += 2>>\ <<set $chars.daughter.corruption += 1>>\ <<set $chars.mother.corruption += 1>>\ </div>\ <<else>>\ <div class="fail-result">\ <p>"Mom... it's too much... I can't!" She panics.</p>\ <p style="color:#ff4444; font-weight:bold;">📉 -3 Relations</p>\ <<set $chars.daughter.relations.mother -= 3>>\ </div>\ <</if>>\ \ <<elseif $choiceDaughterRoomLvl3 == "cum">>\ <<if $chars.daughter.corruption >= 70 and $chars.daughter.relations.mother >= 70>>\ <div class="animation-box">\ <img src="img/mother/todaughter/daughterRoom/cm.webp" class="animation-content">\ </div>\ <div class="success-result">\ <p>Your body trembles as you reach a powerful climax together.</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 +2 Relations, +1 Daughter Corruption, +1 Mother Corruption</p>\ <<set $chars.daughter.relations.mother += 2>>\ <<set $chars.daughter.corruption += 1>>\ <<set $chars.mother.corruption += 1>>\ </div>\ <<else>>\ <div class="fail-result">\ <p>"Mom, no... not inside!" She tries to push you away.</p>\ <p style="color:#ff4444; font-weight:bold;">📉 -2 Relations</p>\ <<set $chars.daughter.relations.mother -= 2>>\ </div>\ <</if>>\ \ <<else>>\ <div class="neutral-result">\ <p>You stop yourself at the last moment and leave the room.</p>\ </div>\ <</if>>\ \ <<link "Continue">>\ <<set $choiceDaughterRoomLvl3 = false>>\ <<run window.spendEnergy(0)>>\ <<run window.nextTime()>>\ <<run updateAllUI()>>\ <<goto "DaughterRoom">>\ <</link>>\ <</if>>\ </div>
<div id="main-text">\ <h2 class="room-title">Daughter's Room</h2>\ <p>"Honey, do you need any help with your homework?"</p>\ <<if not $choiceDaughterRoomLvl1>>\ <div class="player-choice">\ <div class="choice-title">Your actions:</div>\ <<link "Talk about studies">>\ <<set $choiceDaughterRoomLvl1 = "talk1">>\ <<goto "MomToDaughterRoomLvl1">>\ <</link>> <<link "Talk about her life">>\ <<set $choiceDaughterRoomLvl1 = "talk2">>\ <<goto "MomToDaughterRoomLvl1">>\ <</link>> <<link "Talk about love and boys">>\ <<set $choiceDaughterRoomLvl1 = "talk3">>\ <<goto "MomToDaughterRoomLvl1">>\ <</link>> <<link "Leave room">>\ <<set $choiceDaughterRoomLvl1 = "leave">>\ <<goto "MomToDaughterRoomLvl1">>\ <</link>> </div>\ <<else>>\ <<if $choiceDaughterRoomLvl1 == "talk1">>\ <div class="animation-box">\ <img src="img/mother/todaughter/daughterRoom/talk1.webp" class="animation-content">\ </div>\ <div class="success-result">\ <p>"Let me help you with that math homework, sweetie." She smiles and leans closer.</p>\ <p style="color:#85e885; font-weight:bold;">📈 +2 Relations, +1 Mother Corruption</p>\ <<set $chars.daughter.relations.mother += 2>>\ <<set $chars.mother.corruption += 1>>\ </div>\ \ <<elseif $choiceDaughterRoomLvl1 == "talk2">>\ <<if $chars.daughter.relations.mother >= 5>>\ <div class="animation-box">\ <img src="img/mother/todaughter/daughterRoom/talk2.webp" class="animation-content">\ </div>\ <div class="success-result">\ <p>"How was your day, honey? Tell me everything." She opens up happily.</p>\ <p style="color:#85e885; font-weight:bold;">📈 +2 Relations, +1 Mother Corruption</p>\ <<set $chars.daughter.relations.mother += 2>>\ <<set $chars.mother.corruption += 1>>\ </div>\ <<else>>\ <div class="fail-result">\ <p>"I'm fine, mom..." She doesn't seem very talkative today.</p>\ <p style="color:#ff4444; font-weight:bold;">📉 -1 Relations</p>\ <<set $chars.daughter.relations.mother -= 1>>\ </div>\ <</if>>\ \ <<elseif $choiceDaughterRoomLvl1 == "talk3">>\ <div class="animation-box">\ <img src="img/mother/todaughter/daughterRoom/talk3.webp" class="animation-content">\ </div>\ <div class="success-result">\ <p>"Do you have a crush on anyone? You can tell mommy everything~" She blushes but listens.</p>\ <p style="color:#85e885; font-weight:bold;">📈 +2 Relations, +1 Mother Corruption</p>\ <<set $chars.daughter.relations.mother += 2>>\ <<set $chars.mother.corruption += 1>>\ </div>\ \ <<else>>\ <div class="neutral-result">\ <p>You decide to leave her alone for now.</p>\ </div>\ <</if>>\ \ <<link "Continue">>\ <<set $choiceDaughterRoomLvl1 = false>>\ <<run window.spendEnergy(0)>>\ <<run window.nextTime()>>\ <<run updateAllUI()>>\ <<goto "DaughterRoom">>\ <</link>>\ <</if>>\ </div>
Проблема условия - не пускает назад если больше значения - может пригодиться. <<widget "levelbutton">> <<set _text = $args[0]>> <<set _energy = $args[1]>> <<set _scene = $args[2]>> <<set _condition = $args[3]>> <<set _reqtext = $args[4]>> <<linkreplace _text + " (" + _energy + "⚡)">> <<if _condition>> <<if window.canSpendEnergy(_energy)>> <<run window.spendEnergy(_energy)>> <<run Engine.play(_scene)>> <<else>> <span class="no-energy">Not enough energy</span> <</if>> <<else>> <span class="locked">🔒 " + _reqtext</span> <</if>> <</linkreplace>> <</widget>>
<div id="main-text">\ <h2 class="room-title">Daughter's Room</h2>\ <div class="animation-box">\ <img src="img/build/rooms/daughterroom.png" class="animation-content">\ </div>\ <div class="room-occupants" style="margin: 15px 0; padding: 10px; background: rgba(255,255,255,0.02); border-radius: 6px; border: 1px solid rgba(255,255,255,0.05);">\ <<if $characterLocations.daughter == "DaughterRoom">>\ <span style="color: #e8c885; font-weight: bold;">👧 Daughter is inside her room.</span><br>\ <span style="color: #777; font-style: italic; font-size: 0.9em;">To influence or act as her, use "Quick Control" in the sidebar.</span>\ <<else>>\ <span style="color: #777; font-style: italic;">The room is empty. Daughter is elsewhere right now.</span>\ <</if>>\ </div>\ <div class="actions-container" style="margin-top: 20px; display: flex; flex-direction: column; gap: 12px;">\ <<if $chars.daughter.corruption >= 75 && $controlledCharacter == "daughter">>\ <div id="webcam-action">\ <<if window.canSpendEnergy(1)>>\ <<link "💼 Work webcam (1⚡)">>\ <<run window.spendEnergy(1)>>\ <<set _earned = random(20, 50)>>\ <<set $money += _earned>>\ <<set $webexp += 1>>\ <<set $chars.daughter.corruption += random(1, 3)>>\ <<run updateAllUI()>>\ <<replace "#webcam-action">>\ <div class="success-result" style="background: rgba(240,184,64,0.03); padding: 15px; border-radius: 6px;">\ <p>You set up the camera and stream online for several hours.</p>\ <div class="animation-box" style="margin: 10px 0;">[img[String.format('img/daughter/web/web' + random(1, 3) + '.gif')]]</div>\ <p style="color: #85e885; font-weight: bold;">+$ _earned (Total: <<print $money>>)</p>\ <<link "Finish streaming">><<run window.nextTime()>><<run updateAllUI()>><<goto "DaughterRoom">><</link>>\ </div>\ <</replace>>\ <</link>>\ <<else>>\ <span style="color: #555; cursor: not-allowed;">💼 Work webcam <span style="color: #ff4444;">(Not enough energy ⚡)</span></span>\ <</if>>\ </div>\ <</if>>\ <<if $time != 4 && $controlledCharacter == "father" && $characterLocations.daughter == "DaughterRoom">>\ <div class="interaction-section"><<if $chars.daughter.corruption >= 40 && $chars.father.relations.daughter >= 40>><<if window.canSpendEnergy(1)>><<link "💞 Have Fun with daughter (1⚡)">><<run window.spendEnergy(1)>><<goto "DaughterBedRoomSceneChoice">><</link>><<else>><span style="color: #555; cursor: not-allowed;">💞 Have Fun with daughter (Not enough energy ⚡)</span><</if>><<else>><div class="locked" style="color: #775533; font-style: italic;">🔒 Requires: Daughter Corruption ≥ 40, Father Relations ≥ 40</div><</if>></div>\ <</if>>\ <<if $time == 4 && $controlledCharacter == "father" && $characterLocations.daughter == "DaughterRoom">>\ <div class="interaction-section"><<if $chars.daughter.corruption >= 40 && $chars.father.relations.daughter >= 40>><<if window.canSpendEnergy(1)>><<link "💞 Night funny (1⚡)">><<run window.spendEnergy(1)>><<goto "DaughterBedRoomNightScene1">><</link>><<else>><span style="color: #555; cursor: not-allowed;">💞 Night funny (Not enough energy ⚡)</span><</if>><<else>><div class="locked" style="color: #775533; font-style: italic;">🔒 Night Intrusion Requires: Corruption ≥ 40, Relations ≥ 40</div><</if>></div>\ <</if>>\ <<if $controlledCharacter == "mother" && $characterLocations.daughter == "DaughterRoom">>\ <div class="interaction-section" style="background: rgba(255,255,255,0.01); padding: 12px; border-radius: 6px; border-left: 3px solid var(--accent);"><h3 style="margin: 0 0 8px 0; color: #fff; font-size: 1.1em;">Interaction:</h3><<link "💬 Interact with daughter">><<goto "MomToDaughterRoomChoice">><</link>></div>\ <</if>>\ <<if !$controlledCharacter or $controlledCharacter == "none">>\ <div class="notice" style="color: #ffaa44; background: rgba(255,170,68,0.05); padding: 12px; border-radius: 6px; border: 1px dashed rgba(255,170,68,0.2);">⚠️ Take control of a character.</div>\ <</if>>\ <hr style="border-color: rgba(255,255,255,0.05); margin: 15px 0;">\ <div>[[← Return to Hall ->Hall]]</div>\ </div>\ </div>\
<div id="main-text">\ <h2 class="room-title">Bathroom (Mother Control)</h2>\ <p>You quietly enter the bathroom. Your daughter is taking a shower. What will you do?</p>\ <div class="player-choice inline-links" style="display: flex; flex-direction: column; gap: 12px; margin-top: 20px;">\ <div class="choice-title" style="font-weight: bold; color: #e8c885;">Choose level of interaction:</div>\ <<if $chars.mother.corruption >= 30 and $chars.daughter.corruption >= 30 and $chars.daughter.relations.mother >= 30>>\ <<if window.canSpendEnergy(1)>>\ <<link "💬 Level 1: Light Interaction (1⚡)">>\ <<run window.spendEnergy(1)>>\ <<goto "MomToDaughterBathLvl1">>\ <</link>>\ <<else>>\ <span style="color: #555; cursor: not-allowed;">💬 Level 1 (1⚡) <span style="color: #ff4444;">(Not enough energy)</span></span>\ <</if>>\ <<else>>\ <span class="locked">🔒 Level 1: Requires Mother Corruption ≥30, Daughter Corruption ≥30, Relations ≥30</span>\ <</if>>\ <<if $chars.mother.corruption >= 60 and $chars.daughter.corruption >= 60 and $chars.daughter.relations.mother >= 60>>\ <<if window.canSpendEnergy(1)>>\ <<link "🔥 Level 2: Heavy Interaction (1⚡)">>\ <<run window.spendEnergy(1)>>\ <<goto "MomToDaughterBathLvl2">>\ <</link>>\ <<else>>\ <span style="color: #555; cursor: not-allowed;">🔥 Level 2 (1⚡) <span style="color: #ff4444;">(Not enough energy)</span></span>\ <</if>>\ <<else>>\ <span class="locked">🔒 Level 2: Requires Mother Corruption ≥60, Daughter Corruption ≥60, Relations ≥60</span>\ <</if>>\ <div style="margin-top: 15px;">\ <<link "← Return to Bathroom">>\ <<run window.spendEnergy(0)>>\ <<goto "Bathroom">>\ <</link>>\ </div>\ </div>\ </div>
<div id="main-text">\ <h2 class="room-title">Bathroom</h2>\ <p>Maybe I should push her further...</p>\ <<if not $choiceDaughterBathMotherLvl2>>\ <div class="player-choice">\ <div class="choice-title">Your actions:</div>\ <<link "Kiss her">>\ <<set $choiceDaughterBathMotherLvl2 = "kiss">>\ <<goto "MomToDaughterBathLvl2">>\ <</link>> <<link "Masturbate in front of her">>\ <<set $choiceDaughterBathMotherLvl2 = "mast">>\ <<goto "MomToDaughterBathLvl2">>\ <</link>> <<link "Masturbate her">>\ <<set $choiceDaughterBathMotherLvl2 = "masther">>\ <<goto "MomToDaughterBathLvl2">>\ <</link>> <<link "Make her cum">>\ <<set $choiceDaughterBathMotherLvl2 = "mkhc">>\ <<goto "MomToDaughterBathLvl2">>\ <</link>> <<link "Leave">>\ <<set $choiceDaughterBathMotherLvl2 = "leave">>\ <<goto "MomToDaughterBathLvl2">>\ <</link>> </div>\ <<else>>\ <<if $choiceDaughterBathMotherLvl2 == "kiss">>\ <div class="animation-box">\ <img src="img/mother/todaughter/bathroom/kiss.webp" class="animation-content">\ </div>\ <div class="success-result">\ <p>You pull her close and kiss her deeply under the running water.</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 +2 Relations, +1 Daughter Corruption, +1 Mother Corruption</p>\ <<set $chars.daughter.relations.mother += 2>>\ <<set $chars.daughter.corruption += 1>>\ <<set $chars.mother.corruption += 1>>\ </div>\ \ <<elseif $choiceDaughterBathMotherLvl2 == "mast">>\ <div class="animation-box">\ <img src="img/mother/todaughter/bathroom/mast.webp" class="animation-content">\ </div>\ <div class="success-result">\ <p>You start touching yourself in front of her, moaning softly.</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 +2 Relations, +1 Daughter Corruption, +1 Mother Corruption</p>\ <<set $chars.daughter.relations.mother += 2>>\ <<set $chars.daughter.corruption += 1>>\ <<set $chars.mother.corruption += 1>>\ </div>\ \ <<elseif $choiceDaughterBathMotherLvl2 == "masther">>\ <div class="animation-box">\ <img src="img/mother/todaughter/bathroom/masther.webp" class="animation-content">\ </div>\ <div class="success-result">\ <p>You press her against the wall and pleasure her with your fingers.</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 +2 Relations, +1 Daughter Corruption, +1 Mother Corruption</p>\ <<set $chars.daughter.relations.mother += 2>>\ <<set $chars.daughter.corruption += 1>>\ <<set $chars.mother.corruption += 1>>\ </div>\ \ <<elseif $choiceDaughterBathMotherLvl2 == "mkhc">>\ <div class="animation-box">\ <img src="img/mother/todaughter/bathroom/mkhc.webp" class="animation-content">\ </div>\ <div class="success-result">\ <p>You bring her to a strong orgasm under the hot water.</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 +2 Relations, +1 Daughter Corruption, +1 Mother Corruption</p>\ <<set $chars.daughter.relations.mother += 2>>\ <<set $chars.daughter.corruption += 1>>\ <<set $chars.mother.corruption += 1>>\ </div>\ \ <<else>>\ <div class="neutral-result">\ <p>You stop yourself and leave the bathroom.</p>\ </div>\ <</if>>\ \ <<link "Continue">>\ <<set $choiceDaughterBathMotherLvl2 = false>>\ <<run window.spendEnergy(0)>>\ <<run window.nextTime()>>\ <<run updateAllUI()>>\ <<goto "Bathroom">>\ <</link>>\ <</if>>\ </div>
<div id="main-text">\ <h2 class="room-title">Bathroom</h2>\ <p>"Honey, could I come in?"</p>\ <<if not $choiceDaughterBathMotherLvl1>>\ <div class="player-choice">\ <div class="choice-title">Your actions:</div>\ <<link "Watch her secretly">>\ <<set $choiceDaughterBathMotherLvl1 = "watch">>\ <<goto "MomToDaughterBathLvl1">>\ <</link>> <<link "Seduce her gently">>\ <<set $choiceDaughterBathMotherLvl1 = "seduce">>\ <<goto "MomToDaughterBathLvl1">>\ <</link>> <<link "Ask her to help wash you">>\ <<set $choiceDaughterBathMotherLvl1 = "wash">>\ <<goto "MomToDaughterBathLvl1">>\ <</link>> <<link "Leave her alone">>\ <<set $choiceDaughterBathMotherLvl1 = "leave">>\ <<goto "MomToDaughterBathLvl1">>\ <</link>> </div>\ <<else>>\ <<if $choiceDaughterBathMotherLvl1 == "watch">>\ <div class="animation-box">\ <<set _rand to random(1, 2)>>\ <<set _path to "img/mother/todaughter/bathroom/watch" + _rand + ".webp">>\ <<print '<img src="' + _path + '" class="animation-content">'>>\ </div>\ <div class="success-result">\ <p>You stand quietly by the door and watch her wet body through the steam.</p>\ <p style="color:#85e885; font-weight:bold;">📈 +2 Relations, +1 Mother Corruption</p>\ <<set $chars.daughter.relations.mother += 2>>\ <<set $chars.mother.corruption += 1>>\ </div>\ \ <<elseif $choiceDaughterBathMotherLvl1 == "seduce">>\ <div class="animation-box">\ <img src="img/mother/todaughter/bathroom/seduce.webp" class="animation-content">\ </div>\ <div class="success-result">\ <p>You compliment her body and gently flirt under the running water.</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 +2 Relations, +1 Daughter Corruption, +1 Mother Corruption</p>\ <<set $chars.daughter.relations.mother += 2>>\ <<set $chars.daughter.corruption += 1>>\ <<set $chars.mother.corruption += 1>>\ </div>\ \ <<elseif $choiceDaughterBathMotherLvl1 == "wash">>\ <<if $chars.daughter.relations.mother >= 15>>\ <div class="animation-box">\ <<set _rand to random(1, 2)>>\ <<set _path to "img/mother/todaughter/bathroom/washb" + _rand + ".webp">>\ <<print '<img src="' + _path + '" class="animation-content">'>>\ </div>\ <div class="success-result">\ <p>"Could you help mommy wash her back, sweetie?" She hesitantly agrees.</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 +2 Relations, +1 Daughter Corruption, +1 Mother Corruption</p>\ <<set $chars.daughter.relations.mother += 2>>\ <<set $chars.daughter.corruption += 1>>\ <<set $chars.mother.corruption += 1>>\ </div>\ <<else>>\ <div class="fail-result">\ <p>"Mom... I can wash myself." She refuses awkwardly.</p>\ <p style="color:#ff4444; font-weight:bold;">📉 -1 Relations</p>\ <<set $chars.daughter.relations.mother -= 1>>\ </div>\ <</if>>\ \ <<else>>\ <div class="neutral-result">\ <p>You decide to leave her alone for now.</p>\ </div>\ <</if>>\ \ <<link "Continue">>\ <<set $choiceDaughterBathMotherLvl1 = false>>\ <<run window.spendEnergy(0)>>\ <<run window.nextTime()>>\ <<run updateAllUI()>>\ <<goto "Bathroom">>\ <</link>>\ <</if>>\ </div>
<div id="main-text">\ <h2 class="room-title">Living Room (Mother Control)</h2>\ <p>You enter the living room. Your daughter is here. What will you do?</p>\ <div class="player-choice inline-links" style="display: flex; flex-direction: column; gap: 12px; margin-top: 20px;">\ <div class="choice-title" style="font-weight: bold; color: #e8c885;">Choose level of interaction:</div>\ <<if $chars.mother.corruption >= 0 and $chars.daughter.corruption >= 0 and $chars.daughter.relations.mother >= 0>>\ <<if window.canSpendEnergy(1)>>\ <<link "💬 Level 1: Light Interaction (0-50) (1⚡)">>\ <<run window.spendEnergy(1)>>\ <<goto "MomToDaughterLivLvl1">>\ <</link>>\ <<else>>\ <span style="color: #555; cursor: not-allowed;">💬 Level 1 (1⚡) <span style="color: #ff4444;">(Not enough energy)</span></span>\ <</if>>\ <<else>>\ <span class="locked">🔒 Level 1: Light Interaction (0-50)</span>\ <</if>>\ <<if $chars.mother.corruption >= 25 and $chars.daughter.corruption >= 51 and $chars.daughter.relations.mother >= 51>>\ <<if window.canSpendEnergy(1)>>\ <<link "🔥 Level 2: Heavy Interaction (51+) (1⚡)">>\ <<run window.spendEnergy(1)>>\ <<goto "MomToDaughterLivLvl2">>\ <</link>>\ <<else>>\ <span style="color: #555; cursor: not-allowed;">🔥 Level 2 (1⚡) <span style="color: #ff4444;">(Not enough energy)</span></span>\ <</if>>\ <<else>>\ <span class="locked">🔒 Level 2: Heavy Interaction (Daughter Corruption ≥51, Relations ≥51)</span>\ <</if>>\ <div style="margin-top: 15px;">\ <<link "← Return to Living Room">>\ <<run window.spendEnergy(0)>>\ <<goto "LivingRoom">>\ <</link>>\ </div>\ </div>\ </div>
<div id="main-text">\ <h2 class="room-title">Living Room</h2>\ <p>The atmosphere is getting hotter...</p>\ <<if not $choiceDaughterLivMotherLvl2>>\ <div class="player-choice">\ <div class="choice-title">Your actions:</div>\ <<link "Touch her while kissing">>\ <<set $choiceDaughterLivMotherLvl2 = "thwk">>\ <<goto "MomToDaughterLivLvl2">>\ <</link>> <<link "Make her lick you">>\ <<set $choiceDaughterLivMotherLvl2 = "mhlu">>\ <<goto "MomToDaughterLivLvl2">>\ <</link>> <<link "Lick her">>\ <<set $choiceDaughterLivMotherLvl2 = "ulh">>\ <<goto "MomToDaughterLivLvl2">>\ <</link>> <<link "Lick her anus">>\ <<set $choiceDaughterLivMotherLvl2 = "lha">>\ <<goto "MomToDaughterLivLvl2">>\ <</link>> <<link "Leave">>\ <<set $choiceDaughterLivMotherLvl2 = "leave">>\ <<goto "MomToDaughterLivLvl2">>\ <</link>> </div>\ <<else>>\ <<if $choiceDaughterLivMotherLvl2 == "thwk">>\ <div class="animation-box">\ <img src="img/mother/todaughter/livingroom/thwk.webp" class="animation-content">\ </div>\ <div class="success-result">\ <p>You kiss her passionately while your hands explore her body.</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 +2 Relations, +1 Daughter Corruption, +1 Mother Corruption</p>\ <<set $chars.daughter.relations.mother += 2>>\ <<set $chars.daughter.corruption += 1>>\ <<set $chars.mother.corruption += 1>>\ </div>\ \ <<elseif $choiceDaughterLivMotherLvl2 == "mhlu">>\ <div class="animation-box">\ <img src="img/mother/todaughter/livingroom/mhlu.webp" class="animation-content">\ </div>\ <div class="success-result">\ <p>You guide her head down and make her pleasure you with her mouth.</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 +2 Relations, +1 Daughter Corruption, +1 Mother Corruption</p>\ <<set $chars.daughter.relations.mother += 2>>\ <<set $chars.daughter.corruption += 1>>\ <<set $chars.mother.corruption += 1>>\ </div>\ \ <<elseif $choiceDaughterLivMotherLvl2 == "ulh">>\ <div class="animation-box">\ <img src="img/mother/todaughter/livingroom/ulh.webp" class="animation-content">\ </div>\ <div class="success-result">\ <p>You spread her legs and lick her intimately on the couch.</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 +2 Relations, +1 Daughter Corruption, +1 Mother Corruption</p>\ <<set $chars.daughter.relations.mother += 2>>\ <<set $chars.daughter.corruption += 1>>\ <<set $chars.mother.corruption += 1>>\ </div>\ \ <<elseif $choiceDaughterLivMotherLvl2 == "lha">>\ <div class="animation-box">\ <img src="img/mother/todaughter/livingroom/lha.webp" class="animation-content">\ </div>\ <div class="success-result">\ <p>You turn her around and lick her ass. She moans in surprise and pleasure.</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 +2 Relations, +1 Daughter Corruption, +1 Mother Corruption</p>\ <<set $chars.daughter.relations.mother += 2>>\ <<set $chars.daughter.corruption += 1>>\ <<set $chars.mother.corruption += 1>>\ </div>\ \ <<else>>\ <div class="neutral-result">\ <p>You stop and leave the living room.</p>\ </div>\ <</if>>\ \ <<link "Continue">>\ <<set $choiceDaughterLivMotherLvl2 = false>>\ <<run window.spendEnergy(0)>>\ <<run window.nextTime()>>\ <<run updateAllUI()>>\ <<goto "LivingRoom">>\ <</link>>\ <</if>>\ </div>
<div id="main-text">\ <h2 class="room-title">Living Room</h2>\ <p>"Honey, mind if I sit with you?"</p>\ <<if not $choiceDaughterLivMotherLvl1>>\ <div class="player-choice">\ <div class="choice-title">Your actions:</div>\ <<link "Talk normally">>\ <<set $choiceDaughterLivMotherLvl1 = "talk">>\ <<goto "MomToDaughterLivLvl1">>\ <</link>> <<link "Dirty talk">>\ <<set $choiceDaughterLivMotherLvl1 = "dtalk">>\ <<goto "MomToDaughterLivLvl1">>\ <</link>> <<link "Kiss her">>\ <<set $choiceDaughterLivMotherLvl1 = "kiss">>\ <<goto "MomToDaughterLivLvl1">>\ <</link>> <<link "Leave her alone">>\ <<set $choiceDaughterLivMotherLvl1 = "leave">>\ <<goto "MomToDaughterLivLvl1">>\ <</link>> </div>\ <<else>>\ <<if $choiceDaughterLivMotherLvl1 == "talk">>\ <div class="animation-box">\ <img src="img/mother/todaughter/livingroom/talk.webp" class="animation-content">\ </div>\ <div class="success-result">\ <p>You have a pleasant conversation while watching TV together.</p>\ <p style="color:#85e885; font-weight:bold;">📈 +2 Relations, +1 Mother Corruption</p>\ <<set $chars.daughter.relations.mother += 2>>\ <<set $chars.mother.corruption += 1>>\ </div>\ \ <<elseif $choiceDaughterLivMotherLvl1 == "dtalk">>\ <div class="animation-box">\ <img src="img/mother/todaughter/livingroom/dtalk.webp" class="animation-content">\ </div>\ <div class="success-result">\ <p>You start talking about boys and intimate topics. She listens attentively, blushing.</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 +2 Relations, +1 Daughter Corruption, +1 Mother Corruption</p>\ <<set $chars.daughter.relations.mother += 2>>\ <<set $chars.daughter.corruption += 1>>\ <<set $chars.mother.corruption += 1>>\ </div>\ \ <<elseif $choiceDaughterLivMotherLvl1 == "kiss">>\ <<if $chars.daughter.relations.mother >= 15>>\ <div class="animation-box">\ <img src="img/mother/todaughter/livingroom/kiss.webp" class="animation-content">\ </div>\ <div class="success-result">\ <p>You lean in and give her a soft, lingering kiss.</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 +2 Relations, +1 Daughter Corruption, +1 Mother Corruption</p>\ <<set $chars.daughter.relations.mother += 2>>\ <<set $chars.daughter.corruption += 1>>\ <<set $chars.mother.corruption += 1>>\ </div>\ <<else>>\ <div class="fail-result">\ <p>"Mom... that's weird..." She pulls away shyly.</p>\ <p style="color:#ff4444; font-weight:bold;">📉 -1 Relations</p>\ <<set $chars.daughter.relations.mother -= 1>>\ </div>\ <</if>>\ \ <<else>>\ <div class="neutral-result">\ <p>You decide to leave her alone for now.</p>\ </div>\ <</if>>\ \ <<link "Continue">>\ <<set $choiceDaughterLivMotherLvl1 = false>>\ <<run window.spendEnergy(0)>>\ <<run window.nextTime()>>\ <<run updateAllUI()>>\ <<goto "LivingRoom">>\ <</link>>\ <</if>>\ </div>
<div id="main-text">\ <h2 class="room-title">Seduction in the Bedroom</h2>\ <p>You decide to seduce your husband...</p>\ <<if not $choiceMadeWifeToHusBedLvl1>>\ <div class="player-choice">\ <div class="choice-title">Your actions:</div>\ <<link "Seduce him in lingerie">> <<set $choiceMadeWifeToHusBedLvl1 = "seduce">>\ <<goto "WifeToHusBedLvl1">>\ <</link>> <<link "Seduce him completely naked">>\ <<set $choiceMadeWifeToHusBedLvl1 = "seducew">>\ <<goto "WifeToHusBedLvl1">>\ <</link>> <<link "Dance for him">>\ <<set $choiceMadeWifeToHusBedLvl1 = "dance">>\ <<goto "WifeToHusBedLvl1">>\ <</link>> <<link "Leave">>\ <<set $choiceMadeWifeToHusBedLvl1 = "leave">>\ <<goto "WifeToHusBedLvl1">>\ <</link>> </div>\ <<else>>\ <<if $choiceMadeWifeToHusBedLvl1 == "seduce">>\ <div class="animation-box">\ <img src="img/mother/tofather/paroom/seduce.webp" class="animation-content">\ </div>\ <div class="success-result">\ <p>"Do you like what you see, darling?" you whisper seductively while slowly undressing.</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 +3 Relations, +2 Mother Corruption</p>\ <<set $chars.father.relations.mother += 3>>\ <<set $chars.mother.corruption += 2>>\ </div>\ \ <<elseif $choiceMadeWifeToHusBedLvl1 == "seducew">>\ <div class="animation-box">\ <img src="img/mother/tofather/paroom/seducew.webp" class="animation-content">\ </div>\ <div class="success-result">\ <p>You stand completely naked before him, letting his eyes devour you.</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 +4 Relations, +3 Mother Corruption</p>\ <<set $chars.father.relations.mother += 4>>\ <<set $chars.mother.corruption += 3>>\ </div>\ \ <<elseif $choiceMadeWifeToHusBedLvl1 == "dance">>\ <div class="animation-box">\ <img src="img/mother/tofather/paroom/dance.webp" class="animation-content">\ </div>\ <div class="success-result">\ <p>You perform a slow, sensual dance just for him.</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 +3 Relations, +2 Mother Corruption</p>\ <<set $chars.father.relations.mother += 3>>\ <<set $chars.mother.corruption += 2>>\ </div>\ \ <<else>>\ <div class="neutral-result">\ <p>You change your mind and leave the room quietly.</p>\ <<set $chars.father.relations.mother += 1>>\ </div>\ <</if>>\ \ <<set _detected = window.checkDetection("mother", "father", "ParentsRoom")>>\ <<if _detected>>\ <div class="detected-warning">\ <p>⚠️ <strong>Warning:</strong> Your daughter might have heard something...</p>\ <<set $chars.daughter.relations.mother -= 5>>\ <<set $chars.daughter.relations.father -= 5>>\ </div>\ <</if>>\ \ <<link "Continue">>\ <<set $choiceMadeWifeToHusBedLvl1 = false>>\ <<run window.spendEnergy(0)>>\ <<run window.nextTime()>>\ <<run updateAllUI()>>\ <<goto "ParentsRoom">>\ <</link>>\ <</if>>\ </div>
<div id="main-text">\ <h2 class="room-title">Deep Intimacy</h2>\ <p>The passion between you is too strong to hold back...</p>\ <<if not $choiceMadeWifeToHusBedLvl2>>\ <div class="player-choice">\ <div class="choice-title">Your actions:</div>\ <<link "Kiss while sitting on his lap">> <<set $choiceMadeWifeToHusBedLvl2 = "jumponhimwhilekiss">>\ <<goto "WifeToHusBedLvl2">>\ <</link>> <<link "BJ (suck)">> <<set $choiceMadeWifeToHusBedLvl2 = "bj">>\ <<goto "WifeToHusBedLvl2">>\ <</link>> <<link "Let him lick you">> <<set $choiceMadeWifeToHusBedLvl2 = "lethimlicku">>\ <<goto "WifeToHusBedLvl2">>\ <</link>> <<link "Sex">> <<set $choiceMadeWifeToHusBedLvl2 = "sex">>\ <<goto "WifeToHusBedLvl2">>\ <</link>> <<link "Let him cum">> <<set $choiceMadeWifeToHusBedLvl2 = "cum">>\ <<goto "WifeToHusBedLvl2">>\ <</link>> <<link "Stop">> <<set $choiceMadeWifeToHusBedLvl2 = "leave">>\ <<goto "WifeToHusBedLvl2">>\ <</link>> </div>\ <<else>>\ <<if $choiceMadeWifeToHusBedLvl2 == "jumponhimwhilekiss">>\ <div class="animation-box">\ <img src="img/mother/tofather/paroom/jumponhimwhilekiss.webp" class="animation-content">\ </div>\ <div class="success-result">\ <p>You sit on his lap and kiss him passionately.</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 +4 Relations, +3 Mother Corruption, +3 Father Corruption</p>\ <<set $chars.father.relations.mother += 4>>\ <<set $chars.mother.corruption += 3>>\ <<set $chars.father.corruption += 3>>\ </div>\ \ <<elseif $choiceMadeWifeToHusBedLvl2 == "bj">>\ <div class="animation-box">\ <img src="img/mother/tofather/paroom/bj.webp" class="animation-content">\ </div>\ <div class="success-result">\ <p>You take him into your mouth with desire.</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 +5 Relations, +4 Mother Corruption, +4 Father Corruption</p>\ <<set $chars.father.relations.mother += 5>>\ <<set $chars.mother.corruption += 4>>\ <<set $chars.father.corruption += 4>>\ </div>\ \ <<elseif $choiceMadeWifeToHusBedLvl2 == "lethimlicku">>\ <div class="animation-box">\ <img src="img/mother/tofather/paroom/lethimlicku.webp" class="animation-content">\ </div>\ <div class="success-result">\ <p>You let him pleasure you with his tongue.</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 +5 Relations, +4 Mother Corruption, +4 Father Corruption</p>\ <<set $chars.father.relations.mother += 5>>\ <<set $chars.mother.corruption += 4>>\ <<set $chars.father.corruption += 4>>\ </div>\ \ <<elseif $choiceMadeWifeToHusBedLvl2 == "sex">>\ <div class="animation-box">\ <img src="img/mother/tofather/paroom/sex.webp" class="animation-content">\ </div>\ <div class="success-result">\ <p>You make passionate love with your husband.</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 +6 Relations, +5 Mother Corruption, +5 Father Corruption</p>\ <<set $chars.father.relations.mother += 6>>\ <<set $chars.mother.corruption += 5>>\ <<set $chars.father.corruption += 5>>\ </div>\ \ <<elseif $choiceMadeWifeToHusBedLvl2 == "cum">>\ <div class="animation-box">\ <img src="img/mother/tofather/paroom/lethimcum.webp" class="animation-content">\ </div>\ <div class="success-result">\ <p>He finishes on you.</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 +7 Relations, +6 Mother Corruption, +6 Father Corruption</p>\ <<set $chars.father.relations.mother += 7>>\ <<set $chars.mother.corruption += 6>>\ <<set $chars.father.corruption += 6>>\ </div>\ \ <<else>>\ <div class="neutral-result">\ <p>You decide to stop for now.</p>\ <<set $chars.father.relations.mother += 2>>\ </div>\ <</if>>\ \ <<set _detected = window.checkDetection("mother", "father", "ParentsRoom")>>\ <<if _detected>>\ <div class="detected-warning">\ <p>⚠️ <strong>Warning:</strong> Your daughter might have heard passionate sounds...</p>\ <<set $chars.daughter.relations.mother -= 7>>\ <<set $chars.daughter.relations.father -= 7>>\ </div>\ <</if>>\ \ <<link "Continue">>\ <<set $choiceMadeWifeToHusBedLvl2 = false>>\ <<run window.spendEnergy(0)>>\ <<run window.nextTime()>>\ <<run updateAllUI()>>\ <<goto "ParentsRoom">>\ <</link>>\ <</if>>\ </div>
<div id="main-text">\ <h2 class="room-title">Kitchen (Mother Control)</h2>\ <p>You enter the kitchen. Your husband is here. What will you do?</p>\ <div class="player-choice inline-links" style="display: flex; flex-direction: column; gap: 12px; margin-top: 20px;">\ <div class="choice-title" style="font-weight: bold; color: #e8c885;">Choose level of interaction:</div>\ <<if $chars.mother.corruption >= 0 and $chars.father.corruption >= 0 and $chars.father.relations.mother >= 0>>\ <<if window.canSpendEnergy(1)>>\ <<link "💬 Level 1: Light Interaction (0-30) (1⚡)">>\ <<run window.spendEnergy(1)>>\ <<goto "WifeToHusKitchLvl1">>\ <</link>>\ <<else>>\ <span style="color: #555; cursor: not-allowed;">💬 Level 1 (1⚡) <span style="color: #ff4444;">(Not enough energy)</span></span>\ <</if>>\ <<else>>\ <span class="locked">🔒 Level 1: Light Interaction (0-30)</span>\ <</if>>\ <<if $chars.mother.corruption >= 20 and $chars.father.corruption >= 31 and $chars.father.relations.mother >= 31>>\ <<if window.canSpendEnergy(1)>>\ <<link "💦 Level 2: Medium Interaction (31-60) (1⚡)">>\ <<run window.spendEnergy(1)>>\ <<goto "WifeToHusKitchLvl2">>\ <</link>>\ <<else>>\ <span style="color: #555; cursor: not-allowed;">💦 Level 2 (1⚡) <span style="color: #ff4444;">(Not enough energy)</span></span>\ <</if>>\ <<else>>\ <span class="locked">🔒 Level 2: Medium Interaction (31-60)</span>\ <</if>>\ <<if $chars.mother.corruption >= 40 and $chars.father.corruption >= 61 and $chars.father.relations.mother >= 61>>\ <<if window.canSpendEnergy(1)>>\ <<link "🔥 Level 3: Heavy Interaction (61+) (1⚡)">>\ <<run window.spendEnergy(1)>>\ <<goto "WifeToHusKitchLvl3">>\ <</link>>\ <<else>>\ <span style="color: #555; cursor: not-allowed;">🔥 Level 3 (1⚡) <span style="color: #ff4444;">(Not enough energy)</span></span>\ <</if>>\ <<else>>\ <span class="locked">🔒 Level 3: Heavy Interaction (61+)</span>\ <</if>>\ <div style="margin-top: 15px;">\ <<link "← Return to Kitchen">>\ <<run window.spendEnergy(0)>>\ <<goto "Kitchen">>\ <</link>>\ </div>\ </div>\ </div>
<div id="main-text">\ <h2 class="room-title">Kitchen</h2>\ <p>Maybe I should be bolder...</p>\ <<if not $choiceHusbandKitchenMotherLvl2>>\ <div class="player-choice">\ <div class="choice-title">Your actions:</div>\ <<link "Jerk him off">>\ <<set $choiceHusbandKitchenMotherLvl2 = "jerk">>\ <<goto "WifeToHusKitchLvl2">>\ <</link>> <<link "Lick his cock">>\ <<set $choiceHusbandKitchenMotherLvl2 = "lick">>\ <<goto "WifeToHusKitchLvl2">>\ <</link>> <<link "Suck him">>\ <<set $choiceHusbandKitchenMotherLvl2 = "suck">>\ <<goto "WifeToHusKitchLvl2">>\ <</link>> <<link "Leave">>\ <<set $choiceHusbandKitchenMotherLvl2 = "leave">>\ <<goto "WifeToHusKitchLvl2">>\ <</link>> </div>\ <<else>>\ <<if $choiceHusbandKitchenMotherLvl2 == "jerk">>\ <div class="animation-box">\ <img src="img/mother/tofather/kitchen/jerk.webp" class="animation-content">\ </div>\ <div class="success-result">\ <p>You slip your hand into his pants and stroke him while he leans on the counter.</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 +2 Relations, +1 Father Corruption, +1 Mother Corruption</p>\ <<set $chars.father.relations.mother += 2>>\ <<set $chars.father.corruption += 1>>\ <<set $chars.mother.corruption += 1>>\ </div>\ \ <<elseif $choiceHusbandKitchenMotherLvl2 == "lick">>\ <div class="animation-box">\ <img src="img/mother/tofather/kitchen/lick.webp" class="animation-content">\ </div>\ <div class="success-result">\ <p>You kneel down and lick his cock teasingly.</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 +2 Relations, +1 Father Corruption, +1 Mother Corruption</p>\ <<set $chars.father.relations.mother += 2>>\ <<set $chars.father.corruption += 1>>\ <<set $chars.mother.corruption += 1>>\ </div>\ \ <<elseif $choiceHusbandKitchenMotherLvl2 == "suck">>\ <div class="animation-box">\ <img src="img/mother/tofather/kitchen/suck.webp" class="animation-content">\ </div>\ <div class="success-result">\ <p>You take him deep into your mouth and suck passionately.</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 +2 Relations, +1 Father Corruption, +1 Mother Corruption</p>\ <<set $chars.father.relations.mother += 2>>\ <<set $chars.father.corruption += 1>>\ <<set $chars.mother.corruption += 1>>\ </div>\ \ <<else>>\ <div class="neutral-result">\ <p>You stop and leave the kitchen.</p>\ </div>\ <</if>>\ \ <<link "Continue">>\ <<set $choiceHusbandKitchenMotherLvl2 = false>>\ <<run window.spendEnergy(0)>>\ <<run window.nextTime()>>\ <<run updateAllUI()>>\ <<goto "Kitchen">>\ <</link>>\ <</if>>\ </div>
<div id="main-text">\ <h2 class="room-title">Kitchen</h2>\ <p>"Honey, do you want something to eat?"</p>\ <<if not $choiceHusbandKitchenMotherLvl1>>\ <div class="player-choice">\ <div class="choice-title">Your actions:</div>\ <<link "Talk">>\ <<set $choiceHusbandKitchenMotherLvl1 = "talk">>\ <<goto "WifeToHusKitchLvl1">>\ <</link>> <<link "Cook together">>\ <<set $choiceHusbandKitchenMotherLvl1 = "cook">>\ <<goto "WifeToHusKitchLvl1">>\ <</link>> <<link "Seduce him">>\ <<set $choiceHusbandKitchenMotherLvl1 = "seduce">>\ <<goto "WifeToHusKitchLvl1">>\ <</link>> <<link "Leave">>\ <<set $choiceHusbandKitchenMotherLvl1 = "leave">>\ <<goto "WifeToHusKitchLvl1">>\ <</link>> </div>\ <<else>>\ <<if $choiceHusbandKitchenMotherLvl1 == "talk">>\ <div class="animation-box">\ <img src="img/mother/tofather/kitchen/talk.webp" class="animation-content">\ </div>\ <div class="success-result">\ <p>You have a nice casual conversation while standing in the kitchen.</p>\ <p style="color:#85e885; font-weight:bold;">📈 +2 Relations, +1 Mother Corruption</p>\ <<set $chars.father.relations.mother += 2>>\ <<set $chars.mother.corruption += 1>>\ </div>\ \ <<elseif $choiceHusbandKitchenMotherLvl1 == "cook">>\ <div class="animation-box">\ <img src="img/mother/tofather/kitchen/cook.webp" class="animation-content">\ </div>\ <div class="success-result">\ <p>You cook together. The atmosphere is warm and pleasant.</p>\ <p style="color:#85e885; font-weight:bold;">📈 +2 Relations, +1 Mother Corruption</p>\ <<set $chars.father.relations.mother += 2>>\ <<set $chars.mother.corruption += 1>>\ </div>\ \ <<elseif $choiceHusbandKitchenMotherLvl1 == "seduce">>\ <div class="animation-box">\ <img src="img/mother/tofather/kitchen/seduce.webp" class="animation-content">\ </div>\ <div class="success-result">\ <p>You flirt and tease him seductively while moving around the kitchen.</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 +2 Relations, +1 Father Corruption, +1 Mother Corruption</p>\ <<set $chars.father.relations.mother += 2>>\ <<set $chars.father.corruption += 1>>\ <<set $chars.mother.corruption += 1>>\ </div>\ \ <<else>>\ <div class="neutral-result">\ <p>You decide to leave him alone for now.</p>\ </div>\ <</if>>\ \ <<link "Continue">>\ <<set $choiceHusbandKitchenMotherLvl1 = false>>\ <<run window.spendEnergy(0)>>\ <<run window.nextTime()>>\ <<run updateAllUI()>>\ <<goto "Kitchen">>\ <</link>>\ <</if>>\ </div>
<div id="main-text">\ <h2 class="room-title">Bathroom — Husband</h2>\ <p>You step into the bathroom. Your husband is taking a shower. What will you do?</p>\ <div class="player-choice">\ <div class="choice-title">Choose level of interaction:</div>\ <<if window.canSpendEnergy(1)>>\ <<link "💋 Level 1: Seduction (1⚡)">>\ <<run window.spendEnergy(1)>>\ <<goto "WifeToHusBathLvl1">>\ <</link>>\ <<else>>\ <span style="color: #ff4444;">Level 1 (1⚡) — Not enough energy</span>\ <</if>>\ <<if $chars.mother.corruption >= 50 and $chars.father.relations.mother >= 50>>\ <<if window.canSpendEnergy(2)>>\ <<link "🔥 Level 2: Deep Passion (2⚡)">>\ <<run window.spendEnergy(2)>>\ <<goto "WifeToHusBathLvl2">>\ <</link>>\ <<else>>\ <span style="color: #ff4444;">Level 2 (2⚡) — Not enough energy</span>\ <</if>>\ <<else>>\ <div class="locked">🔒 Level 2 Requires: Mother Corruption ≥50, Father Relations ≥50</div>\ <</if>>\ <<link "← Return to Bathroom">>\ <<run window.spendEnergy(0)>>\ <<goto "Bathroom">>\ <</link>>\ </div>\ </div>
<div id="main-text">\ <h2 class="room-title">Bathroom with Husband</h2>\ <p>"Honey, could I come in?"</p>\ <<if not $choiceMadeWifeToHusBathLvl1>>\ <div class="player-choice">\ <div class="choice-title">Your actions:</div>\ <<link "Spy on him">>\ <<set $choiceMadeWifeToHusBathLvl1 = "spy">>\ <<goto "WifeToHusBathLvl1">>\ <</link>> <<link "Talk & help him">>\ <<set $choiceMadeWifeToHusBathLvl1 = "talk">>\ <<goto "WifeToHusBathLvl1">>\ <</link>> <<link "Wash together">>\ <<set $choiceMadeWifeToHusBathLvl1 = "wash">>\ <<goto "WifeToHusBathLvl1">>\ <</link>> <<link "Finish and leave">>\ <<set $choiceMadeWifeToHusBathLvl1 = "leave">>\ <<goto "WifeToHusBathLvl1">>\ <</link>> </div>\ <<else>>\ <<if $choiceMadeWifeToHusBathLvl1 == "spy">>\ <div class="animation-box">\ <img src="img/mother/tofather/bathroom/spy.webp" class="animation-content">\ </div>\ <div class="success-result">\ <p>You quietly watch your husband through the steam.</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 +2 Relations, +1 Mother Corruption</p>\ <<set $chars.father.relations.mother += 2>>\ <<set $chars.mother.corruption += 1>>\ </div>\ \ <<elseif $choiceMadeWifeToHusBathLvl1 == "talk">>\ <div class="animation-box">\ <img src="img/mother/tofather/bathroom/talk.webp" class="animation-content">\ </div>\ <div class="success-result">\ <p>You talk while helping him wash.</p>\ <p style="color:#85e885; font-weight:bold;">📈 +2 Relations, +1 Mother Corruption</p>\ <<set $chars.father.relations.mother += 2>>\ <<set $chars.mother.corruption += 1>>\ </div>\ \ <<elseif $choiceMadeWifeToHusBathLvl1 == "wash">>\ <div class="animation-box">\ <img src="img/mother/tofather/bathroom/wash.webp" class="animation-content">\ </div>\ <div class="success-result">\ <p>You wash together intimately under the hot water.</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 +3 Relations, +2 Mother Corruption</p>\ <<set $chars.father.relations.mother += 3>>\ <<set $chars.mother.corruption += 2>>\ </div>\ \ <<else>>\ <div class="neutral-result">\ <p>You decide to leave him alone.</p>\ <p style="color:#85e885; font-weight:bold;">📈 +1 Relations</p>\ <<set $chars.father.relations.mother += 1>>\ </div>\ <</if>>\ \ <<set _detected = window.checkDetection("mother", "father", "Bathroom")>>\ <<if _detected>>\ <div class="detected-warning">\ <p>⚠️ <strong>Warning:</strong> Daughter might have heard suspicious sounds.</p>\ <<set $chars.daughter.relations.mother -= 5>>\ <<set $chars.daughter.relations.father -= 5>>\ </div>\ <</if>>\ \ <<link "Continue">>\ <<set $choiceMadeWifeToHusBathLvl1 = false>>\ <<run window.spendEnergy(0)>>\ <<run window.nextTime()>>\ <<run updateAllUI()>>\ <<goto "Bathroom">>\ <</link>>\ <</if>>\ </div>
<div id="main-text">\ <h2 class="room-title">Deeper Interaction</h2>\ <p>Maybe I should try to push him further...</p>\ <<if not $choiceMadeWifeToHusBathLvl2>>\ <div class="player-choice">\ <div class="choice-title">Your actions:</div>\ <<link "Jerk him">>\ <<set $choiceMadeWifeToHusBathLvl2 = "jerk">>\ <<goto "WifeToHusBathLvl2">>\ <</link>> <<link "Suck him">>\ <<set $choiceMadeWifeToHusBathLvl2 = "suck">>\ <<goto "WifeToHusBathLvl2">>\ <</link>> <<link "Fuck him">>\ <<set $choiceMadeWifeToHusBathLvl2 = "fuck">>\ <<goto "WifeToHusBathLvl2">>\ <</link>> <<link "Make him cum">>\ <<set $choiceMadeWifeToHusBathLvl2 = "cum">>\ <<goto "WifeToHusBathLvl2">>\ <</link>> <<link "Finish">>\ <<set $choiceMadeWifeToHusBathLvl2 = "leave">>\ <<goto "WifeToHusBathLvl2">>\ <</link>> </div>\ <<else>>\ <<if $choiceMadeWifeToHusBathLvl2 == "jerk">>\ <div class="animation-box">\ <img src="img/mother/tofather/bathroom/jerk.webp" class="animation-content">\ </div>\ <div class="success-result">\ <p>You stroke him under the running water.</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 +3 Relations, +2 Mother Corruption, +2 Father Corruption</p>\ <<set $chars.father.relations.mother += 3>>\ <<set $chars.mother.corruption += 2>>\ <<set $chars.father.corruption += 2>>\ </div>\ \ <<elseif $choiceMadeWifeToHusBathLvl2 == "suck">>\ <div class="animation-box">\ <img src="img/mother/tofather/bathroom/suck.webp" class="animation-content">\ </div>\ <div class="success-result">\ <p>You drop to your knees and take him in your mouth.</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 +4 Relations, +3 Mother Corruption, +3 Father Corruption</p>\ <<set $chars.father.relations.mother += 4>>\ <<set $chars.mother.corruption += 3>>\ <<set $chars.father.corruption += 3>>\ </div>\ \ <<elseif $choiceMadeWifeToHusBathLvl2 == "fuck">>\ <div class="animation-box">\ <<set _rand to random(1,2)>>\ <<set _path to "img/mother/tofather/bathroom/fuck" + _rand + ".webp">>\ <<print '<img src="' + _path + '" class="animation-content">'>>\ </div>\ <div class="success-result">\ <p>You press against the wall and let him take you.</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 +5 Relations, +4 Mother Corruption, +4 Father Corruption</p>\ <<set $chars.father.relations.mother += 5>>\ <<set $chars.mother.corruption += 4>>\ <<set $chars.father.corruption += 4>>\ </div>\ \ <<elseif $choiceMadeWifeToHusBathLvl2 == "cum">>\ <div class="animation-box">\ <img src="img/mother/tofather/bathroom/cum.webp" class="animation-content">\ </div>\ <div class="success-result">\ <p>He finishes strongly inside you.</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 +6 Relations, +5 Mother Corruption, +5 Father Corruption</p>\ <<set $chars.father.relations.mother += 6>>\ <<set $chars.mother.corruption += 5>>\ <<set $chars.father.corruption += 5>>\ </div>\ \ <<else>>\ <div class="neutral-result">\ <p>You decide to stop for now.</p>\ <<set $chars.father.relations.mother += 1>>\ </div>\ <</if>>\ \ <<set _detected = window.checkDetection("mother", "father", "Bathroom")>>\ <<if _detected>>\ <div class="detected-warning">\ <p>⚠️ <strong>Warning:</strong> Daughter might have heard suspicious sounds from the bathroom.</p>\ <<set $chars.daughter.relations.mother -= 6>>\ <<set $chars.daughter.relations.father -= 6>>\ </div>\ <</if>>\ \ <<link "Continue">>\ <<set $choiceMadeWifeToHusBathLvl2 = false>>\ <<run window.spendEnergy(0)>>\ <<run window.nextTime()>>\ <<run updateAllUI()>>\ <<goto "Bathroom">>\ <</link>>\ <</if>>\ </div>
<div id="main-text">\ <h2 class="room-title">Office — Husband</h2>\ <p>You are with your husband in his office. The door is closed. What will you do?</p>\ <div class="player-choice">\ <div class="choice-title">Choose level of interaction:</div>\ <<if window.canSpendEnergy(1)>>\ <<link "💋 Level 1: Seduction (1⚡)">>\ <<run window.spendEnergy(1)>>\ <<goto "WifeToHusCabLvl1">>\ <</link>>\ <<else>>\ <span style="color: #ff4444;">Level 1 (1⚡) — Not enough energy</span>\ <</if>>\ <<if $chars.mother.corruption >= 50 and $chars.father.relations.mother >= 50>>\ <<if window.canSpendEnergy(2)>>\ <<link "🔥 Level 2: Deep Passion (2⚡)">>\ <<run window.spendEnergy(2)>>\ <<goto "WifeToHusCabLvl2">>\ <</link>>\ <<else>>\ <span style="color: #ff4444;">Level 2 (2⚡) — Not enough energy</span>\ <</if>>\ <<else>>\ <div class="locked">🔒 Level 2 Requires: Mother Corruption ≥50, Father Relations ≥50</div>\ <</if>>\ <<link "← Return to Office">>\ <<run window.spendEnergy(0)>>\ <<goto "FathersStudy">>\ <</link>>\ </div>\ </div>
<div id="main-text">\ <h2 class="room-title">With Husband in the Office</h2>\ <p>"Honey, could I come in?"</p>\ <<if not $choiceMadeWifeToHusCabLvl1>>\ <div class="player-choice">\ <div class="choice-title">Your actions:</div>\ <<link "Talk">>\ <<set $choiceMadeWifeToHusCabLvl1 = "talk">>\ <<goto "WifeToHusCabLvl1">>\ <</link>> <<link "Seduce">>\ <<set $choiceMadeWifeToHusCabLvl1 = "seduce">>\ <<goto "WifeToHusCabLvl1">>\ <</link>> <<link "Touch">>\ <<set $choiceMadeWifeToHusCabLvl1 = "touch">>\ <<goto "WifeToHusCabLvl1">>\ <</link>> <<link "Finish and leave">>\ <<set $choiceMadeWifeToHusCabLvl1 = "leave">>\ <<goto "WifeToHusCabLvl1">>\ <</link>> </div>\ <<else>>\ <<if $choiceMadeWifeToHusCabLvl1 == "talk">>\ <div class="animation-box">\ <img src="img/mother/tofather/cab/talk.webp" class="animation-content">\ </div>\ <div class="success-result">\ <p>Just a pleasant conversation with your husband.</p>\ <p style="color:#85e885; font-weight:bold;">📈 +2 Relations, +1 Mother Corruption</p>\ <<set $chars.father.relations.mother += 2>>\ <<set $chars.mother.corruption += 1>>\ </div>\ \ <<elseif $choiceMadeWifeToHusCabLvl1 == "seduce">>\ <div class="animation-box">\ <img src="img/mother/tofather/cab/seduce.webp" class="animation-content">\ </div>\ <div class="success-result">\ <p>You start seducing him with words and glances.</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 +3 Relations, +2 Mother Corruption</p>\ <<set $chars.father.relations.mother += 3>>\ <<set $chars.mother.corruption += 2>>\ </div>\ \ <<elseif $choiceMadeWifeToHusCabLvl1 == "touch">>\ <div class="animation-box">\ <img src="img/mother/tofather/cab/touch.webp" class="animation-content">\ </div>\ <div class="success-result">\ <p>You gently touch him while talking.</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 +3 Relations, +2 Mother Corruption</p>\ <<set $chars.father.relations.mother += 3>>\ <<set $chars.mother.corruption += 2>>\ </div>\ \ <<else>>\ <div class="neutral-result">\ <p>You decide to leave him alone for now.</p>\ <p style="color:#85e885; font-weight:bold;">📈 +1 Relations</p>\ <<set $chars.father.relations.mother += 1>>\ </div>\ <</if>>\ \ <<set _detected = window.checkDetection("mother", "father", "FathersStudy")>>\ <<if _detected>>\ <div class="detected-warning">\ <p>⚠️ <strong>Warning:</strong> Someone might have heard you!</p>\ <<set $chars.daughter.relations.mother -= 5>>\ </div>\ <</if>>\ \ <<link "Continue">>\ <<set $choiceMadeWifeToHusCabLvl1 = false>>\ <<run window.spendEnergy(0)>>\ <<run window.nextTime()>>\ <<run updateAllUI()>>\ <<goto "FathersStudy">>\ <</link>>\ <</if>>\ </div>
<div id="main-text">\ <h2 class="room-title">Deeper with Husband</h2>\ <p>Maybe I should try to push him further...</p>\ <<if not $choiceMadeWifeToHusCabLvl2>>\ <div class="player-choice">\ <div class="choice-title">Your actions:</div>\ <<link "BJ (suck)">>\ <<set $choiceMadeWifeToHusCabLvl2 = "suck">>\ <<goto "WifeToHusCabLvl2">>\ <</link>> <<link "Sex">>\ <<set $choiceMadeWifeToHusCabLvl2 = "fuck">>\ <<goto "WifeToHusCabLvl2">>\ <</link>> <<link "Cum">>\ <<set $choiceMadeWifeToHusCabLvl2 = "cum">>\ <<goto "WifeToHusCabLvl2">>\ <</link>> <<link "Finish">>\ <<set $choiceMadeWifeToHusCabLvl2 = "leave">>\ <<goto "WifeToHusCabLvl2">>\ <</link>> </div>\ <<else>>\ <<if $choiceMadeWifeToHusCabLvl2 == "suck">>\ <div class="animation-box">\ <img src="img/mother/tofather/cab/bj.webp" class="animation-content">\ </div>\ <div class="success-result">\ <p>You kneel and take care of him with your mouth.</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 +4 Relations, +3 Mother Corruption, +3 Father Corruption</p>\ <<set $chars.father.relations.mother += 4>>\ <<set $chars.mother.corruption += 3>>\ <<set $chars.father.corruption += 3>>\ </div>\ \ <<elseif $choiceMadeWifeToHusCabLvl2 == "fuck">>\ <div class="animation-box">\ <<set _rand to random(1,2)>>\ <<set _path to "img/mother/tofather/cab/sex" + _rand + ".webp">>\ <<print '<img src="' + _path + '" class="animation-content">'>>\ </div>\ <div class="success-result">\ <p>You let him have his way with you right there on the desk.</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 +5 Relations, +4 Mother Corruption, +4 Father Corruption</p>\ <<set $chars.father.relations.mother += 5>>\ <<set $chars.mother.corruption += 4>>\ <<set $chars.father.corruption += 4>>\ </div>\ \ <<elseif $choiceMadeWifeToHusCabLvl2 == "cum">>\ <div class="animation-box">\ <img src="img/mother/tofather/cab/cum.webp" class="animation-content">\ </div>\ <div class="success-result">\ <p>He reaches his peak inside you, leaving no doubt who dominates this room.</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 +6 Relations, +5 Mother Corruption, +5 Father Corruption</p>\ <<set $chars.father.relations.mother += 6>>\ <<set $chars.mother.corruption += 5>>\ <<set $chars.father.corruption += 5>>\ </div>\ \ <<else>>\ <div class="neutral-result">\ <p>You decide to stop for now.</p>\ </div>\ <</if>>\ \ <<link "Continue">>\ <<set $choiceMadeWifeToHusCabLvl2 = false>>\ <<run window.spendEnergy(0)>>\ <<run window.nextTime()>>\ <<run updateAllUI()>>\ <<goto "FathersStudy">>\ <</link>>\ <</if>>\ </div>
WIP [[Hall]]
<div id="main-content"> <div id="main-text"> <h2>You're with your husband in the bedroom.</h2> <p>Honey, Could i come in?</p> <<if not $choiceMadeDaughterBedroomFatherLvl1>> <div class="player-choice"> <div class="choice-title">Your actions:</div> <div class="player-choice inline-links"> <<link "Talk">> <<set $choiceMadeDaughterBedroomFatherLvl1 = "help1">> <<goto "MomToDaughterKitchenLvl1">> <</link>> <<link "Take a towel">> <<set $choiceMadeDaughterBedroomFatherLvl1 = "help2">> <<goto "MomToDaughterKitchenLvl1">> <</link>> <<link "Watch">> <<set $choiceMadeDaughterBedroomFatherLvl1 = "help3">> <<goto "MomToDaughterKitchenLvl1">> <</link>> <<link "Finish your deals and go">> <<set $choiceMadeDaughterBedroomFatherLvl1 = "leave">> <<goto "Hall">> <</link>> </div> </div> <<else>> <<if $choiceMadeDaughterBedroomFatherLvl1 == "help1">> <div class="success-result"> <p>Just a small talk</p> <div class="media-placeholder"> <<print '<img src="img/father/bathroom/help' + random(1, 2) + '.gif" width="500">'>> </div> <<set $chars.father.relations.mother += 2>> <<set $chars.mother.corruption += 1>> </div> <<elseif $choiceMadeDaughterBedroomFatherLvl1 == "help2">> <<if $chars.father.relations.mother >= 5>> <div class="success-result"> <p>I bring a pillow for you, honey</p> <div class="media-placeholder"> <img src="img/father/bathroom/help3.gif" width="500"> </div> <<set $chars.father.relations.mother += 2>> <<set $chars.mother.corruption += 1>> </div> <<else>> <div class="fail-result"> <p>"It's strange, mom, why are you looking at me like that??" - Need to rise our relationships</p> <<set $chars.father.relations.mother -= 1>> </div> <</if>> <<elseif $choiceMadeDaughterBedroomFatherLvl1 == "help3">> <<if $chars.father.relations.mother >= 10>> <div class="success-result"> <p>You just starring on her</p> <div class="media-placeholder"> <<print '<img src="img/father/bathroom/help' + random(4, 5) + '.gif" width="500">'>> </div> <<set $chars.father.relations.mother += 2>> <<set $chars.father.corruption += 1>> <<set $chars.mother.corruption += 1>> </div> <<else>> <div class="fail-result"> <p>"It's strange, mom, what are u doing??" - Need to rise our relationships</p> <<set $chars.father.relations.father -= 1>> </div> <</if>> <<elseif $choiceMadeDaughterBedroomFatherLvl1 == "leave">> <div class="neutral-result"> <p>Just leave her alone</p> <<set $chars.father.relations.mother += 1>> </div> <</if>> <div class="continue-button"> <<link "Continue">> <<set $choiceMadeDaughterBedroomFatherLvl1 = false>> <<run window.nextTime()>> <<goto "Garage">> <</link>> </div> <</if>> </div> </div>
<div id="main-content"> <div id="main-text"> <h2>May be I should try to push her futher?</h2> <p>Just try, what could happen?</p> <<if not $choiceMadeDaughterBedroomFatherLvl1>> <div class="player-choice"> <div class="choice-title">Your actions:</div> <div class="player-choice inline-links"> <<link "Spy on your daughter">> <<set $choiceMadeDaughterBedroomFatherLvl1 = "help1">> <<goto "MomToDaughterKitchenLvl2">> <</link>> <<link "Harras her">> <<set $choiceMadeDaughterBedroomFatherLvl1 = "help2">> <<goto "MomToDaughterKitchenLvl2">> <</link>> <<link "Kiss">> <<set $choiceMadeDaughterBedroomFatherLvl1 = "help3">> <<goto "MomToDaughterKitchenLvl2">> <</link>> <<link "Finish your deals and go">> <<set $choiceMadeDaughterBedroomFatherLvl1 = "leave">> <<goto "Hall">> <</link>> </div> </div> <<else>> <<if $choiceMadeDaughterBedroomFatherLvl1 == "help1">> <div class="success-result"> <p>She's notice you, but continue her deals</p> <div class="media-placeholder"> <<print '<img src="img/father/bathroom/help' + random(1, 2) + '.gif" width="500">'>> </div> <<set $chars.father.relations.mother += 2>> <<set $chars.father.corruption += 1>> <<set $chars.mother.corruption += 2>> </div> <<elseif $choiceMadeDaughterBedroomFatherLvl1 == "help2">> <<if $chars.father.corruption >= 40 && $chars.father.relations.mother >= 45>> <div class="success-result"> <p>"You have a nice skin" - you touch her </p> <div class="media-placeholder"> <img src="img/father/bathroom/help3.gif" width="500"> </div> <<set $chars.father.relations.mother += 2>> <<set $chars.father.corruption += 1>> <<set $chars.mother.corruption += 2>> </div> <<else>> <div class="fail-result"> <p>"It's strange, mom, what are u doing??" - Need to rise our relationships and corruption (Father corr = 40 or more, Relat = 45 or more)</p> <<set $chars.father.relations.mother -= 1>> </div> <</if>> <<elseif $choiceMadeDaughterBedroomFatherLvl1 == "help3">> <<if $chars.father.corruption >= 45 && $chars.father.relations.mother >= 50>> <div class="success-result"> <p>You lips touch her lips. Amazing feelings</p> <div class="media-placeholder"> <<print '<img src="img/father/bathroom/help' + random(4, 5) + '.gif" width="500">'>> </div> <<set $chars.father.relations.mother += 2>> <<set $chars.father.corruption += 1>> <<set $chars.mother.corruption += 2>> </div> <<else>> <div class="fail-result"> <p>"It's strange, mom, what are u doing??" - Need to rise our relationships and corruption(Father corr = 45 or more, Relat = 50 or more)</p> <<set $chars.father.relations.mother -= 1>> </div> <</if>> <<elseif $choiceMadeDaughterBedroomFatherLvl1 == "leave">> <div class="neutral-result"> <p>Just leave her alone</p> <<set $chars.father.relations.mother += 1>> </div> <</if>> <div class="continue-button"> <<link "Continue">> <<set $choiceMadeDaughterBedroomFatherLvl1 = false>> <<run window.nextTime()>> <<goto "Garage">> <</link>> </div> <</if>> </div> </div>
<div id="main-text">\ <h2 class="room-title">Living Room — Husband</h2>\ <p>You are in the living room with your husband. The atmosphere is calm and intimate. What will you do?</p>\ <div class="player-choice">\ <div class="choice-title">Choose level of interaction:</div>\ <<if $chars.mother.corruption >= 20 and $chars.father.relations.mother >= 20>>\ <<if window.canSpendEnergy(1)>>\ <<link "💋 Level 1: Seduction (1⚡)">>\ <<run window.spendEnergy(1)>>\ <<goto "WifeToHusLivLvl1">>\ <</link>> <<else>>\ <span style="color: #ff4444;">Level 1 (1⚡) — Not enough energy</span>\ <</if>>\ <<else>>\ <div class="locked">🔒 Level 1: Seduction (Mother Corruption ≥20, Relations ≥20)</div>\ <</if>>\ <<if $chars.mother.corruption >= 50 and $chars.father.relations.mother >= 50>>\ <<if window.canSpendEnergy(2)>>\ <<link "🔥 Level 2: Deep Passion (2⚡)">>\ <<run window.spendEnergy(2)>>\ <<goto "WifeToHusLivLvl2">>\ <</link>> <<else>>\ <span style="color: #ff4444;">Level 2 (2⚡) — Not enough energy</span>\ <</if>>\ <<else>>\ <div class="locked">🔒 Level 2: Deep Passion (Mother Corruption ≥50, Relations ≥50)</div>\ <</if>>\ <<link "← Return to Living Room">>\ <<run window.spendEnergy(0)>>\ <<goto "LivingRoom">>\ <</link>>\ </div>\ </div>
<div id="main-text">\ <h2 class="room-title">Seduction in the Living Room</h2>\ <p>You decide to seduce your husband while cleaning...</p>\ <<if not $choiceMadeWifeToHusLivLvl1>>\ <div class="player-choice">\ <div class="choice-title">Your actions:</div>\ <<link "Seduce him while cleaning">>\ <<set $choiceMadeWifeToHusLivLvl1 = "seduce">>\ <<goto "WifeToHusLivLvl1">>\ <</link>> <<link "Seduce him more boldly">>\ <<set $choiceMadeWifeToHusLivLvl1 = "seducewhilecleaning">>\ <<goto "WifeToHusLivLvl1">>\ <</link>> <<link "Show him your breasts">>\ <<set $choiceMadeWifeToHusLivLvl1 = "showboobs">>\ <<goto "WifeToHusLivLvl1">>\ <</link>> <<link "Stop and leave">>\ <<set $choiceMadeWifeToHusLivLvl1 = "leave">>\ <<goto "WifeToHusLivLvl1">>\ <</link>> </div>\ <<else>>\ <<if $choiceMadeWifeToHusLivLvl1 == "seduce">>\ <div class="animation-box">\ <img src="img/mother/tofather/livroom/seduce.webp" class="animation-content">\ </div>\ <div class="success-result">\ <p>You bend over seductively while cleaning, giving him a good view.</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 +3 Relations, +2 Mother Corruption</p>\ <<set $chars.father.relations.mother += 3>>\ <<set $chars.mother.corruption += 2>>\ </div>\ \ <<elseif $choiceMadeWifeToHusLivLvl1 == "seducewhilecleaning">>\ <div class="animation-box">\ <img src="img/mother/tofather/livroom/seducewhileclinning.webp" class="animation-content">\ </div>\ <div class="success-result">\ <p>You tease him more openly while pretending to clean.</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 +4 Relations, +3 Mother Corruption</p>\ <<set $chars.father.relations.mother += 4>>\ <<set $chars.mother.corruption += 3>>\ </div>\ \ <<elseif $choiceMadeWifeToHusLivLvl1 == "showboobs">>\ <div class="animation-box">\ <img src="img/mother/tofather/livroom/showboobs.webp" class="animation-content">\ </div>\ <div class="success-result">\ <p>You deliberately show him your breasts while smiling seductively.</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 +4 Relations, +3 Mother Corruption</p>\ <<set $chars.father.relations.mother += 4>>\ <<set $chars.mother.corruption += 3>>\ </div>\ \ <<else>>\ <div class="neutral-result">\ <p>You decide to stop and continue cleaning normally.</p>\ <p style="color:#85e885; font-weight:bold;">📈 +1 Relations</p>\ <<set $chars.father.relations.mother += 1>>\ </div>\ <</if>>\ \ <<set _detected = window.checkDetection("mother", "father", "LivingRoom")>>\ <<if _detected>>\ <div class="detected-warning">\ <p>⚠️ <strong>Warning:</strong> Your daughter might have noticed something suspicious.</p>\ <<set $chars.daughter.relations.mother -= 5>>\ <<set $chars.daughter.relations.father -= 5>>\ </div>\ <</if>>\ \ <<link "Continue">>\ <<set $choiceMadeWifeToHusLivLvl1 = false>>\ <<run window.spendEnergy(0)>>\ <<run window.nextTime()>>\ <<run updateAllUI()>>\ <<goto "LivingRoom">>\ <</link>>\ <</if>>\ </div>
<div id="main-text">\ <h2 class="room-title">Deep Passion in the Living Room</h2>\ <p>The passion between you is too strong to hold back...</p>\ <<if not $choiceMadeWifeToHusLivLvl2>>\ <div class="player-choice">\ <div class="choice-title">Your actions:</div>\ <<link "BJ">> <<set $choiceMadeWifeToHusLivLvl2 = "bj">>\ <<goto "WifeToHusLivLvl2">>\ <</link>> <<link "Sex">>\ <<set $choiceMadeWifeToHusLivLvl2 = "sex">>\ <<goto "WifeToHusLivLvl2">>\ <</link>> <<link "Cum">>\ <<set $choiceMadeWifeToHusLivLvl2 = "cum">>\ <<goto "WifeToHusLivLvl2">>\ <</link>> <<link "Stop">>\ <<set $choiceMadeWifeToHusLivLvl2 = "leave">>\ <<goto "WifeToHusLivLvl2">>\ <</link>> </div>\ <<else>>\ <<if $choiceMadeWifeToHusLivLvl2 == "bj">>\ <div class="animation-box">\ <img src="img/mother/tofather/livroom/bj.webp" class="animation-content">\ </div>\ <div class="success-result">\ <p>You kneel down and take him into your mouth with passion.</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 +5 Relations, +4 Mother Corruption, +4 Father Corruption</p>\ <<set $chars.father.relations.mother += 5>>\ <<set $chars.mother.corruption += 4>>\ <<set $chars.father.corruption += 4>>\ </div>\ \ <<elseif $choiceMadeWifeToHusLivLvl2 == "sex">>\ <div class="animation-box">\ <img src="img/mother/tofather/livroom/sex.webp" class="animation-content">\ </div>\ <div class="success-result">\ <p>You make passionate love right on the couch.</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 +6 Relations, +5 Mother Corruption, +5 Father Corruption</p>\ <<set $chars.father.relations.mother += 6>>\ <<set $chars.mother.corruption += 5>>\ <<set $chars.father.corruption += 5>>\ </div>\ \ <<elseif $choiceMadeWifeToHusLivLvl2 == "cum">>\ <div class="animation-box">\ <img src="img/mother/tofather/livroom/cum.webp" class="animation-content">\ </div>\ <div class="success-result">\ <p>He finishes intensely as you ride him.</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 +7 Relations, +6 Mother Corruption, +6 Father Corruption</p>\ <<set $chars.father.relations.mother += 7>>\ <<set $chars.mother.corruption += 6>>\ <<set $chars.father.corruption += 6>>\ </div>\ \ <<else>>\ <div class="neutral-result">\ <p>You decide to stop for now.</p>\ <<set $chars.father.relations.mother += 2>>\ </div>\ <</if>>\ \ <<set _detected = window.checkDetection("mother", "father", "LivingRoom")>>\ <<if _detected>>\ <div class="detected-warning">\ <p>⚠️ <strong>Warning:</strong> Your daughter might have heard passionate sounds...</p>\ <<set $chars.daughter.relations.mother -= 7>>\ <<set $chars.daughter.relations.father -= 7>>\ </div>\ <</if>>\ \ <<link "Continue">>\ <<set $choiceMadeWifeToHusLivLvl2 = false>>\ <<run window.spendEnergy(0)>>\ <<run window.nextTime()>>\ <<run updateAllUI()>>\ <<goto "LivingRoom">>\ <</link>>\ <</if>>\ </div>
WIP [[Hall]]
<div id="main-content"> <div id="main-text"> <h2>You're with your husband in the bedroom.</h2> <p>Honey, Could i come in?</p> <<if not $choiceMadeDaughterBedroomFatherLvl1>> <div class="player-choice"> <div class="choice-title">Your actions:</div> <div class="player-choice inline-links"> <<link "Talk">> <<set $choiceMadeDaughterBedroomFatherLvl1 = "help1">> <<goto "MomToDaughterKitchenLvl1">> <</link>> <<link "Take a towel">> <<set $choiceMadeDaughterBedroomFatherLvl1 = "help2">> <<goto "MomToDaughterKitchenLvl1">> <</link>> <<link "Watch">> <<set $choiceMadeDaughterBedroomFatherLvl1 = "help3">> <<goto "MomToDaughterKitchenLvl1">> <</link>> <<link "Finish your deals and go">> <<set $choiceMadeDaughterBedroomFatherLvl1 = "leave">> <<goto "Hall">> <</link>> </div> </div> <<else>> <<if $choiceMadeDaughterBedroomFatherLvl1 == "help1">> <div class="success-result"> <p>Just a small talk</p> <div class="media-placeholder"> <<print '<img src="img/father/bathroom/help' + random(1, 2) + '.gif" width="500">'>> </div> <<set $chars.mother.relations.father += 2>> <<set $chars.father.corruption += 1>> </div> <<elseif $choiceMadeDaughterBedroomFatherLvl1 == "help2">> <<if $chars.mother.relations.father >= 5>> <div class="success-result"> <p>I bring a pillow for you, honey</p> <div class="media-placeholder"> <img src="img/father/bathroom/help3.gif" width="500"> </div> <<set $chars.mother.relations.father += 2>> <<set $chars.father.corruption += 1>> <<set $chars.mother.corruption += 1>> </div> <<else>> <div class="fail-result"> <p>"It's strange, mom, why are you looking at me like that??" - Need to rise our relationships</p> <<set $chars.mother.relations.father -= 1>> </div> <</if>> <<elseif $choiceMadeDaughterBedroomFatherLvl1 == "help3">> <<if $chars.mother.relations.father >= 10>> <div class="success-result"> <p>You just starring on her</p> <div class="media-placeholder"> <<print '<img src="img/father/bathroom/help' + random(4, 5) + '.gif" width="500">'>> </div> <<set $chars.mother.relations.father += 2>> <<set $chars.father.corruption += 1>> <<set $chars.mother.corruption += 1>> </div> <<else>> <div class="fail-result"> <p>"It's strange, mom, what are u doing??" - Need to rise our relationships</p> <<set $chars.mother.relations.father -= 1>> </div> <</if>> <<elseif $choiceMadeDaughterBedroomFatherLvl1 == "leave">> <div class="neutral-result"> <p>Just leave her alone</p> <<set $chars.mother.relations.father += 1>> </div> <</if>> <div class="continue-button"> <<link "Continue">> <<set $choiceMadeDaughterBedroomFatherLvl1 = false>> <<run window.nextTime()>> <<goto "ParentsRoom">> <</link>> </div> <</if>> </div> </div>
<div id="main-content"> <div id="main-text"> <h2>May be I should try to push her futher?</h2> <p>Just try, what could happen?</p> <<if not $choiceMadeDaughterBedroomFatherLvl1>> <div class="player-choice"> <div class="choice-title">Your actions:</div> <div class="player-choice inline-links"> <<link "Spy on your daughter">> <<set $choiceMadeDaughterBedroomFatherLvl1 = "help1">> <<goto "MomToDaughterKitchenLvl2">> <</link>> <<link "Harras her">> <<set $choiceMadeDaughterBedroomFatherLvl1 = "help2">> <<goto "MomToDaughterKitchenLvl2">> <</link>> <<link "Kiss">> <<set $choiceMadeDaughterBedroomFatherLvl1 = "help3">> <<goto "MomToDaughterKitchenLvl2">> <</link>> <<link "Finish your deals and go">> <<set $choiceMadeDaughterBedroomFatherLvl1 = "leave">> <<goto "Hall">> <</link>> </div> </div> <<else>> <<if $choiceMadeDaughterBedroomFatherLvl1 == "help1">> <div class="success-result"> <p>She's notice you, but continue her deals</p> <div class="media-placeholder"> <<print '<img src="img/father/bathroom/help' + random(1, 2) + '.gif" width="500">'>> </div> <<set $chars.mother.relations.father += 2>> <<set $chars.father.corruption += 2>> <<set $chars.mother.corruption += 1>> </div> <<elseif $choiceMadeDaughterBedroomFatherLvl1 == "help2">> <<if $chars.mother.corruption >= 40 && $chars.mother.relations.father >= 45>> <div class="success-result"> <p>"You have a nice skin" - you touch her </p> <div class="media-placeholder"> <img src="img/father/bathroom/help3.gif" width="500"> </div> <<set $chars.mother.relations.father += 2>> <<set $chars.father.corruption += 2>> <<set $chars.mother.corruption += 1>> </div> <<else>> <div class="fail-result"> <p>"It's strange, mom, what are u doing??" - Need to rise our relationships and corruption (Father corr = 40 or more, Relat = 45 or more)</p> <<set $chars.mother.relations.father -= 1>> </div> <</if>> <<elseif $choiceMadeDaughterBedroomFatherLvl1 == "help3">> <<if $chars.mother.corruption >= 45 && $chars.mother.relations.father >= 50>> <div class="success-result"> <p>You lips touch her lips. Amazing feelings</p> <div class="media-placeholder"> <<print '<img src="img/father/bathroom/help' + random(4, 5) + '.gif" width="500">'>> </div> <<set $chars.mother.relations.father += 2>> <<set $chars.father.corruption += 2>> <<set $chars.mother.corruption += 1>> </div> <<else>> <div class="fail-result"> <p>"It's strange, mom, what are u doing??" - Need to rise our relationships and corruption(Father corr = 45 or more, Relat = 50 or more)</p> <<set $chars.mother.relations.father -= 1>> </div> <</if>> <<elseif $choiceMadeDaughterBedroomFatherLvl1 == "leave">> <div class="neutral-result"> <p>Just leave her alone</p> <<set $chars.mother.relations.father += 1>> </div> <</if>> <div class="continue-button"> <<link "Continue">> <<set $choiceMadeDaughterBedroomFatherLvl1 = false>> <<run window.nextTime()>> <<goto "ParentsRoom">> <</link>> </div> <</if>> </div> </div>
WIP [[Hall]]
HusToWifeKitchLvl1 <div id="main-content"> <div id="main-text"> <h2>May be I should try to push her futher?</h2> <p>Just try, what could happen?</p> <<if not $choiceMadeDaughterBedroomFatherLvl1>> <div class="player-choice"> <div class="choice-title">Your actions:</div> <div class="player-choice inline-links"> <<link "Spy on your daughter">> <<set $choiceMadeDaughterBedroomFatherLvl1 = "help1">> <<goto "MomToDaughterKitchenLvl2">> <</link>> <<link "Harras her">> <<set $choiceMadeDaughterBedroomFatherLvl1 = "help2">> <<goto "MomToDaughterKitchenLvl2">> <</link>> <<link "Kiss">> <<set $choiceMadeDaughterBedroomFatherLvl1 = "help3">> <<goto "MomToDaughterKitchenLvl2">> <</link>> <<link "Kiss">> <<set $choiceMadeDaughterBedroomFatherLvl1 = "help4">> <<goto "MomToDaughterKitchenLvl2">> <</link>> <<link "Kiss">> <<set $choiceMadeDaughterBedroomFatherLvl1 = "help5">> <<goto "MomToDaughterKitchenLvl2">> <</link>> <<link "Finish your deals and go">> <<set $choiceMadeDaughterBedroomFatherLvl1 = "leave">> <<goto "Hall">> <</link>> </div> </div> <<else>> <<if $choiceMadeDaughterBedroomFatherLvl1 == "help1">> <div class="success-result"> <p>She's notice you, but continue her deals</p> <div class="media-placeholder"> <<print '<img src="img/father/bathroom/help' + random(1, 2) + '.gif" width="500">'>> </div> <<set $chars.mother.relations.father += 2>> <<set $chars.father.corruption += 2>> <<set $chars.mother.corruption += 1>> </div> <<elseif $choiceMadeDaughterBedroomFatherLvl1 == "help2">> <<if $chars.mother.corruption >= 10 && $chars.mother.relations.father >=10>> <div class="success-result"> <p>"You have a nice skin" - you touch her </p> <div class="media-placeholder"> <img src="img/father/bathroom/help3.gif" width="500"> </div> <<set $chars.mother.relations.father += 2>> <<set $chars.father.corruption += 2>> <<set $chars.mother.corruption += 1>> </div> <<else>> <div class="fail-result"> <p>"It's strange, mom, what are u doing??" - Need to rise our relationships and corruption (Father corr = 10 or more, Relat = 45 or more)</p> <<set $chars.mother.relations.father -= 1>> </div> <</if>> <<elseif $choiceMadeDaughterBedroomFatherLvl1 == "help3">> <<if $chars.mother.corruption >= 20 && $chars.mother.relations.father >= 15>> <div class="success-result"> <p>You lips touch her lips. Amazing feelings</p> <div class="media-placeholder"> <<print '<img src="img/father/bathroom/help' + random(4, 5) + '.gif" width="500">'>> </div> <<set $chars.mother.relations.father += 2>> <<set $chars.father.corruption += 2>> <<set $chars.mother.corruption += 1>> </div> <<else>> <div class="fail-result"> <p>"It's strange, mom, what are u doing??" - Need to rise our relationships and corruption(Father corr = 45 or more, Relat = 50 or more)</p> <<set $chars.mother.relations.father -= 1>> </div> <</if>> <<elseif $choiceMadeDaughterBedroomFatherLvl1 == "help4">> <<if $chars.mother.corruption >= 30 && $chars.mother.relations.father >= 25>> <div class="success-result"> <p>You lips touch her lips. Amazing feelings</p> <div class="media-placeholder"> <<print '<img src="img/father/bathroom/help' + random(4, 5) + '.gif" width="500">'>> </div> <<set $chars.mother.relations.father += 2>> <<set $chars.father.corruption += 2>> <<set $chars.mother.corruption += 1>> </div> <<else>> <div class="fail-result"> <p>"It's strange, mom, what are u doing??" - Need to rise our relationships and corruption(Father corr = 45 or more, Relat = 50 or more)</p> <<set $chars.mother.relations.father -= 1>> </div> <</if>> <<elseif $choiceMadeDaughterBedroomFatherLvl1 == "help5">> <<if $chars.mother.corruption >= 40 && $chars.mother.relations.father >= 30>> <div class="success-result"> <p>You lips touch her lips. Amazing feelings</p> <div class="media-placeholder"> <<print '<img src="img/father/bathroom/help' + random(4, 5) + '.gif" width="500">'>> </div> <<set $chars.mother.relations.father += 2>> <<set $chars.father.corruption += 2>> <<set $chars.mother.corruption += 1>> </div> <<else>> <div class="fail-result"> <p>"It's strange, mom, what are u doing??" - Need to rise our relationships and corruption(Father corr = 45 or more, Relat = 50 or more)</p> <<set $chars.mother.relations.father -= 1>> </div> <</if>> <<elseif $choiceMadeDaughterBedroomFatherLvl1 == "leave">> <div class="neutral-result"> <p>Just leave her alone</p> <<set $chars.mother.relations.father += 1>> </div> <</if>> <div class="continue-button"> <<link "Continue">> <<set $choiceMadeDaughterBedroomFatherLvl1 = false>> <<run window.nextTime()>> <<goto "Kitchen">> <</link>> </div> <</if>> </div> </div>
WIP [[Hall]]
<div id="main-content"> <div id="main-text"> <h2>May be I should try to push her futher?</h2> <p>Just try, what could happen?</p> <<if not $choiceMadeDaughterBedroomFatherLvl1>> <div class="player-choice"> <div class="choice-title">Your actions:</div> <div class="player-choice inline-links"> <<link "Spy on your daughter">> <<set $choiceMadeDaughterBedroomFatherLvl1 = "help1">> <<goto "MomToDaughterKitchenLvl2">> <</link>> <<link "Harras her">> <<set $choiceMadeDaughterBedroomFatherLvl1 = "help2">> <<goto "MomToDaughterKitchenLvl2">> <</link>> <<link "Kiss">> <<set $choiceMadeDaughterBedroomFatherLvl1 = "help3">> <<goto "MomToDaughterKitchenLvl2">> <</link>> <<link "Kiss">> <<set $choiceMadeDaughterBedroomFatherLvl1 = "help4">> <<goto "MomToDaughterKitchenLvl2">> <</link>> <<link "Kiss">> <<set $choiceMadeDaughterBedroomFatherLvl1 = "help5">> <<goto "MomToDaughterKitchenLvl2">> <</link>> <<link "Finish your deals and go">> <<set $choiceMadeDaughterBedroomFatherLvl1 = "leave">> <<goto "Hall">> <</link>> </div> </div> <<else>> <<if $choiceMadeDaughterBedroomFatherLvl1 == "help1">> <div class="success-result"> <p>She's notice you, but continue her deals</p> <div class="media-placeholder"> <<print '<img src="img/father/bathroom/help' + random(1, 2) + '.gif" width="500">'>> </div> <<set $chars.mother.relations.father += 2>> <<set $chars.father.corruption += 2>> <<set $chars.mother.corruption += 1>> </div> <<elseif $choiceMadeDaughterBedroomFatherLvl1 == "help2">> <<if $chars.mother.corruption >= 10 && $chars.mother.relations.father >=10>> <div class="success-result"> <p>"You have a nice skin" - you touch her </p> <div class="media-placeholder"> <img src="img/father/bathroom/help3.gif" width="500"> </div> <<set $chars.mother.relations.father += 2>> <<set $chars.father.corruption += 2>> <<set $chars.mother.corruption += 1>> </div> <<else>> <div class="fail-result"> <p>"It's strange, mom, what are u doing??" - Need to rise our relationships and corruption (Father corr = 10 or more, Relat = 45 or more)</p> <<set $chars.mother.relations.father -= 1>> </div> <</if>> <<elseif $choiceMadeDaughterBedroomFatherLvl1 == "help3">> <<if $chars.mother.corruption >= 20 && $chars.mother.relations.father >= 15>> <div class="success-result"> <p>You lips touch her lips. Amazing feelings</p> <div class="media-placeholder"> <<print '<img src="img/father/bathroom/help' + random(4, 5) + '.gif" width="500">'>> </div> <<set $chars.mother.relations.father += 2>> <<set $chars.father.corruption += 2>> <<set $chars.mother.corruption += 1>> </div> <<else>> <div class="fail-result"> <p>"It's strange, mom, what are u doing??" - Need to rise our relationships and corruption(Father corr = 45 or more, Relat = 50 or more)</p> <<set $chars.mother.relations.father -= 1>> </div> <</if>> <<elseif $choiceMadeDaughterBedroomFatherLvl1 == "help4">> <<if $chars.mother.corruption >= 30 && $chars.mother.relations.father >= 25>> <div class="success-result"> <p>You lips touch her lips. Amazing feelings</p> <div class="media-placeholder"> <<print '<img src="img/father/bathroom/help' + random(4, 5) + '.gif" width="500">'>> </div> <<set $chars.mother.relations.father += 2>> <<set $chars.father.corruption += 2>> <<set $chars.mother.corruption += 1>> </div> <<else>> <div class="fail-result"> <p>"It's strange, mom, what are u doing??" - Need to rise our relationships and corruption(Father corr = 45 or more, Relat = 50 or more)</p> <<set $chars.mother.relations.father -= 1>> </div> <</if>> <<elseif $choiceMadeDaughterBedroomFatherLvl1 == "help5">> <<if $chars.mother.corruption >= 40 && $chars.mother.relations.father >= 30>> <div class="success-result"> <p>You lips touch her lips. Amazing feelings</p> <div class="media-placeholder"> <<print '<img src="img/father/bathroom/help' + random(4, 5) + '.gif" width="500">'>> </div> <<set $chars.mother.relations.father += 2>> <<set $chars.father.corruption += 2>> <<set $chars.mother.corruption += 1>> </div> <<else>> <div class="fail-result"> <p>"It's strange, mom, what are u doing??" - Need to rise our relationships and corruption(Father corr = 45 or more, Relat = 50 or more)</p> <<set $chars.mother.relations.father -= 1>> </div> <</if>> <<elseif $choiceMadeDaughterBedroomFatherLvl1 == "leave">> <div class="neutral-result"> <p>Just leave her alone</p> <<set $chars.mother.relations.father += 1>> </div> <</if>> <div class="continue-button"> <<link "Continue">> <<set $choiceMadeDaughterBedroomFatherLvl1 = false>> <<run window.nextTime()>> <<goto "Bathroom">> <</link>> </div> <</if>> </div> </div>
WIP [[Hall]]
<div id="main-content"> <div id="main-text"> <h2>May be I should try to push her futher?</h2> <p>Just try, what could happen?</p> <<if not $choiceMadeDaughterBedroomFatherLvl1>> <div class="player-choice"> <div class="choice-title">Your actions:</div> <div class="player-choice inline-links"> <<link "Spy on your daughter">> <<set $choiceMadeDaughterBedroomFatherLvl1 = "help1">> <<goto "MomToDaughterKitchenLvl2">> <</link>> <<link "Harras her">> <<set $choiceMadeDaughterBedroomFatherLvl1 = "help2">> <<goto "MomToDaughterKitchenLvl2">> <</link>> <<link "Kiss">> <<set $choiceMadeDaughterBedroomFatherLvl1 = "help3">> <<goto "MomToDaughterKitchenLvl2">> <</link>> <<link "Kiss">> <<set $choiceMadeDaughterBedroomFatherLvl1 = "help4">> <<goto "MomToDaughterKitchenLvl2">> <</link>> <<link "Kiss">> <<set $choiceMadeDaughterBedroomFatherLvl1 = "help5">> <<goto "MomToDaughterKitchenLvl2">> <</link>> <<link "Finish your deals and go">> <<set $choiceMadeDaughterBedroomFatherLvl1 = "leave">> <<goto "Hall">> <</link>> </div> </div> <<else>> <<if $choiceMadeDaughterBedroomFatherLvl1 == "help1">> <div class="success-result"> <p>She's notice you, but continue her deals</p> <div class="media-placeholder"> <<print '<img src="img/father/bathroom/help' + random(1, 2) + '.gif" width="500">'>> </div> <<set $chars.mother.relations.father += 2>> <<set $chars.father.corruption += 2>> <<set $chars.mother.corruption += 1>> </div> <<elseif $choiceMadeDaughterBedroomFatherLvl1 == "help2">> <<if $chars.mother.corruption >= 10 && $chars.mother.relations.father >=10>> <div class="success-result"> <p>"You have a nice skin" - you touch her </p> <div class="media-placeholder"> <img src="img/father/bathroom/help3.gif" width="500"> </div> <<set $chars.mother.relations.father += 2>> <<set $chars.father.corruption += 2>> <<set $chars.mother.corruption += 1>> </div> <<else>> <div class="fail-result"> <p>"It's strange, mom, what are u doing??" - Need to rise our relationships and corruption (Father corr = 10 or more, Relat = 45 or more)</p> <<set $chars.mother.relations.father -= 1>> </div> <</if>> <<elseif $choiceMadeDaughterBedroomFatherLvl1 == "help3">> <<if $chars.mother.corruption >= 20 && $chars.mother.relations.father >= 15>> <div class="success-result"> <p>You lips touch her lips. Amazing feelings</p> <div class="media-placeholder"> <<print '<img src="img/father/bathroom/help' + random(4, 5) + '.gif" width="500">'>> </div> <<set $chars.mother.relations.father += 2>> <<set $chars.father.corruption += 2>> <<set $chars.mother.corruption += 1>> </div> <<else>> <div class="fail-result"> <p>"It's strange, mom, what are u doing??" - Need to rise our relationships and corruption(Father corr = 45 or more, Relat = 50 or more)</p> <<set $chars.mother.relations.father -= 1>> </div> <</if>> <<elseif $choiceMadeDaughterBedroomFatherLvl1 == "help4">> <<if $chars.mother.corruption >= 30 && $chars.mother.relations.father >= 25>> <div class="success-result"> <p>You lips touch her lips. Amazing feelings</p> <div class="media-placeholder"> <<print '<img src="img/father/bathroom/help' + random(4, 5) + '.gif" width="500">'>> </div> <<set $chars.mother.relations.father += 2>> <<set $chars.father.corruption += 2>> <<set $chars.mother.corruption += 1>> </div> <<else>> <div class="fail-result"> <p>"It's strange, mom, what are u doing??" - Need to rise our relationships and corruption(Father corr = 45 or more, Relat = 50 or more)</p> <<set $chars.mother.relations.father -= 1>> </div> <</if>> <<elseif $choiceMadeDaughterBedroomFatherLvl1 == "help5">> <<if $chars.mother.corruption >= 40 && $chars.mother.relations.father >= 30>> <div class="success-result"> <p>You lips touch her lips. Amazing feelings</p> <div class="media-placeholder"> <<print '<img src="img/father/bathroom/help' + random(4, 5) + '.gif" width="500">'>> </div> <<set $chars.mother.relations.father += 2>> <<set $chars.father.corruption += 2>> <<set $chars.mother.corruption += 1>> </div> <<else>> <div class="fail-result"> <p>"It's strange, mom, what are u doing??" - Need to rise our relationships and corruption(Father corr = 45 or more, Relat = 50 or more)</p> <<set $chars.mother.relations.father -= 1>> </div> <</if>> <<elseif $choiceMadeDaughterBedroomFatherLvl1 == "leave">> <div class="neutral-result"> <p>Just leave her alone</p> <<set $chars.mother.relations.father += 1>> </div> <</if>> <div class="continue-button"> <<link "Continue">> <<set $choiceMadeDaughterBedroomFatherLvl1 = false>> <<run window.nextTime()>> <<goto "LivingRoom">> <</link>> </div> <</if>> </div> </div>
<div id="main-text">\ <h2 class="room-title">Father's Office</h2>\ <div class="animation-box">\ <img src="img/daughter/fathercabinet/talk1.gif" class="animation-content">\ </div>\ <div class="success-result">\ <p>You are discussing the latest family news with your father. He listens attentively, glad for the distraction.</p>\ <p style="color:#85e885; font-weight:bold;">📈 Stats: +1 Father Relations</p>\ </div>\ <<link "Continue">>\ <<run window.nextTime()>>\ <<goto "FathersStudy">>\ <</link>>\ </div>
FatherStudyHelpResult <div id="main-text">\ <h2 class="room-title">Father's Office</h2>\ <div class="animation-box">\ <img src="img/daughter/fathercabinet/talk1.gif" class="animation-content">\ </div>\ <div class="success-result">\ <p>You help your father clear his workspace and massage his shoulders. He smiles warmly and relaxes.</p>\ <p style="color:#85e885; font-weight:bold;">📈 Stats: +10 Father Relations</p>\ </div>\ <<link "Continue">>\ <<run window.nextTime()>>\ <<goto "FathersStudy">>\ <</link>>\ </div>
:: FatherStudyBJResult <div id="main-text">\ <h2 class="room-title">Father's Office</h2>\ <div class="animation-box"> <<set _rand to random(1, 2)>> [img["img/daughter/fathercabinet/bj" + _rand + ".gif"]] </div> <div class="success-result">\ <p>You deliberately lean close over his paperwork. The psychological barrier begins to crack.</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 Stats: +5 Daughter Corruption, +3 Father Corruption</p>\ </div>\ <<link "Continue">>\ <<run window.nextTime()>>\ <<goto "FathersStudy">>\ <</link>>\ </div>
:: FatherStudyDeepthroatResult <div id="main-text">\ <h2 class="room-title">Father's Office</h2>\ <div class="animation-box">\ <img src="img/daughter/fathercabinet/dt1.gif" class="animation-content">\ </div>\ <div class="success-result">\ <p>You climb onto his lap. His hands slide firmly over your waist. The heavy desk creaks...</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 Stats: +8 Daughter Corruption, +6 Father Corruption</p>\ </div>\ <<link "Continue">>\ <<run window.nextTime()>>\ <<goto "FathersStudy">>\ <</link>>\ </div>
<div id="main-text">\ <h2 class="room-title">Kitchen</h2>\ <p>Things are getting really intense...</p>\ <<if not $choiceHusbandKitchenMotherLvl3>>\ <div class="player-choice">\ <div class="choice-title">Your actions:</div>\ <<link "Fuck him">>\ <<set $choiceHusbandKitchenMotherLvl3 = "fuck">>\ <<goto "WifeToHusKitchLvl3">>\ <</link>> <<link "Make him cum in your mouth">>\ <<set $choiceHusbandKitchenMotherLvl3 = "mkhc">>\ <<goto "WifeToHusKitchLvl3">>\ <</link>> <<link "Leave">>\ <<set $choiceHusbandKitchenMotherLvl3 = "leave">>\ <<goto "WifeToHusKitchLvl3">>\ <</link>> </div>\ <<else>>\ <<if $choiceHusbandKitchenMotherLvl3 == "fuck">>\ <div class="animation-box">\ <<set _rand to random(1,2)>>\ <<set _path to "img/mother/tofather/kitchen/fuck" + _rand + ".webp">>\ <<print '<img src="' + _path + '" class="animation-content">'>>\ </div>\ <div class="success-result">\ <p>You bend over the kitchen counter and let him fuck you hard and fast.</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 +2 Relations, +1 Father Corruption, +1 Mother Corruption</p>\ <<set $chars.father.relations.mother += 2>>\ <<set $chars.father.corruption += 1>>\ <<set $chars.mother.corruption += 1>>\ </div>\ \ <<elseif $choiceHusbandKitchenMotherLvl3 == "mkhc">>\ <div class="animation-box">\ <img src="img/mother/tofather/kitchen/mkhc.webp" class="animation-content">\ </div>\ <div class="success-result">\ <p>You suck him intensely until he cums deep in your mouth and you swallow everything.</p>\ <p style="color:#ffaa44; font-weight:bold;">🔥 +2 Relations, +1 Father Corruption, +1 Mother Corruption</p>\ <<set $chars.father.relations.mother += 2>>\ <<set $chars.father.corruption += 1>>\ <<set $chars.mother.corruption += 1>>\ </div>\ \ <<else>>\ <div class="neutral-result">\ <p>You stop yourself and leave the kitchen.</p>\ </div>\ <</if>>\ \ <<link "Continue">>\ <<set $choiceHusbandKitchenMotherLvl3 = false>>\ <<run window.spendEnergy(0)>>\ <<run window.nextTime()>>\ <<run updateAllUI()>>\ <<goto "Kitchen">>\ <</link>>\ <</if>>\ </div>
<div class="animation-box"> <<set _rand to random(4, 5)>> <<set _path to "img/father/daughterroom/help" + _rand + ".webp">> <<print '<img src="' + _path + '" class="animation-content">'>> </div> <<if $choiceMadeBedroomNightFatherLvl1 == "seduce">>\ <div class="animation-box"><<set _rand to random(1, 3)>><<set _path to "img/father/daughterroom/nbj" + _rand + ".webp">>[img[_path]]</div>\ <div class="success-result">\
/* Виджет для одного изображения */ <<widget "showImg">> <div class="animation-box"> [img[$args[0]]] </div> <</widget>> /* Виджет для рандомного изображения из папки */ /* Первый аргумент: путь до папки, второй: префикс файла, третий: диапазон (от, до) */ <<widget "showRandImg">> <div class="animation-box"> <<set _rand to random($args[1], $args[2])>> <<set _path to $args[0] + _rand + ".gif">> [img[_path]] </div> <</widget>>
:: CheatMenu [data] <div id="main-text"> <h2>🛠️ Cheat Menu</h2>\ <p>Money: $<<print $money>></p>\ <<button "Add $500">>\ <<set $money += 500>>\ <<goto "CheatMenu">>\ <</button>>\ <hr>\ <h3>Corruption</h3> <<button "Father +10">> <<set $chars.father.corruption += 10>> <<goto "CheatMenu">> <</button>> <<button "Mother +10">> <<set $chars.mother.corruption += 10>> <<goto "CheatMenu">> <</button>> <<button "Daughter +10">> <<set $chars.daughter.corruption += 10>> <<goto "CheatMenu">> <</button>> \ <hr>\ \ <h3>Relations</h3> <p><strong>Mother:</strong></p> <<button "Mother ↔ Father +20">> <<set $chars.mother.relations.father += 20>> <<set $chars.father.relations.mother += 20>> <<goto "CheatMenu">> <</button>>\ <<button "Mother ↔ Daughter +20">> <<set $chars.mother.relations.daughter += 20>> <<set $chars.daughter.relations.mother += 20>> <<goto "CheatMenu">> <</button>>\ \ <p><strong>Daughter:</strong></p> <<button "Daughter ↔ Father +20">> <<set $chars.daughter.relations.father += 20>> <<set $chars.father.relations.daughter += 20>> <<goto "CheatMenu">> <</button>>\ \ <br><br> <<link "Return">> <<goto "Hall">> <</link>> </div>
<div id="main-text"> <h2>Secret Entry</h2> <p>Enter the secret code:</p> <<textbox "$passwordInput" "">> <<button "Submit">> <<if $passwordInput == "Justaguy">> <<set $cheatRoomUnlocked = true>> <<replace "#feedback">>Access granted!<</replace>> <<goto "Hall">> <<else>> <<replace "#feedback">>Wrong code!<</replace>> <</if>> <</button>> <div id="feedback"></div> <<link "Back">><<goto "Hall">><</link>> </div>